How do I find the source of an error?
The line 1762 is inside drupal_eval(), in Drupal 6. You need to check  those nodes that use the PHP filter and call getScriptTag() on a variable that doesn't contain a PHP object.

It happens during cron tasks because one of the implementations of hook_cron() indirectly calls node_view() on some nodes.