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

qmhao99’s picture

One 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.

qmhao99’s picture

I 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!

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.