The above error was reported in the log when cron was run. If cron.php is run manually, in addition to the above error, a page is displayed with the stdClass Object { ... }, which shows the content of the Admin user object, and followed by the error below:
Fatal error: Call to a member function get_variables() on a non-object in /includes/common.inc(1696) : eval()'d code on line 5
I was able to run cron before at some point and I have been adding some new modules and making changes to some objects such as Content Profiles. I am not exactly sure when this behavior started. The only thing I can think of is that I used to have some Content Taxonomy fields in my Content Profile and I removed them while there were a few test users with defined values for these fields. I first removed these fields from the Content Profile and then removed the Taxonomy terms.
Any help is greatly appreciated!
Thanks,
Michael
Comments
Comment #1
qmhao99 commentedOne more piece of information, I recently upgraded from 6.20 to 6.22. I did clear the cache and run update.php and found no problems. Also all other normal functions seem to be fine.
Comment #2
qmhao99 commentedI reverted back to 6.20 with an older DB version before the mentioned changes and I see the same errors. So it is probably not something related to the changes I made or the upgrade. Thank you for any help!