Just in case anybody has a similar problem with cron, I thought I'd share this:
* Status report showed Cron was failing.
* Running Cron manually led to: "Fatal error: Function name must be a string" which led me to line 1696 in includes/common.inc (print eval('?>'. $code);)
- I was upgrading anyway, so checked Cron again after update with only core modules. The error remained.
- Checked database for cron_semaphore and cron_last. Nothing found.
- Used echo theme('item_list', module_implements('cron')); to find (core) modules using cron and start switching them off.
When I switched off Filter module, the Cron error disappeared.
Interestingly, when switched on again, Cron kept functioning fine. Something obviously got jammed.
Comments
It looks like you have a
It looks like you have a wrong PHP code somewhere, I suspect you are using Rules and have a rule with some faulty PHP code.
I just wanted to say thank
I just wanted to say thank you for posting this. I have been pulling my hair out (literally!) over this one for a week now. Turning the PHP Filter module off and back on fixed it!
Saved me, too!
I started a new job this week where I inherited this error. Tried your solution (immediately trying the PHP filter toggle), and, while it took two tries, oddly....it worked!!!! Thanks so much :)