I upgraded Drupal from 6.x to 7.x some tiume ago, and have been grappling with this issue for some time:
don@etiikka:$ sudo drush @jbt cron
PHP Fatal error: Call to undefined function db_result() in /var/www/XXX.com/modules/php/php.module(80) : eval()'d code on line 2
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function db_result() in /var/www/XXX.com/modules/php/php.module(80) : eval()'d code, line 2
I have tried disabling any key modules (twitter & OAuth seemed the most likely candidates, so I completely removed them - no change, then re-installed) but the issue remains. Have cleared cache repeatedly after any change, & I continue to get the error.
I also did a reset of the file ownership settings etc. checked everything I can think of.
Also reset the settings on .htaccess
The "Status Report" is all green except for Cron failing.
Does anyone have any bright ideas ?