After updating a Drupal site to version 6.24 from 6.22 I started receiving this error during cron runs:
Fatal Error: Unsupported operand types in common.inc on line 2984
I added the following debug text to common.inc to track down the error:
if (!is_array($elements)) {
print_r($elements);
print "\n--------------\n";
$backtrace = debug_backtrace();
var_export($backtrace);
die();
}
Looking at the stack trace I could see that the issue was with the search module indexing the site.
