Quantcast
Channel: How to find bad PHP node that makes search_cron fail? - Drupal Answers
Viewing all articles
Browse latest Browse all 5

How to find bad PHP node that makes search_cron fail?

$
0
0

I can't run cron, manually or automatically. I installed Cron Debug module, checked all modules, and found out that the Search module makes cron stuck. When I disable it, cron is working.

I suppose the reason is one of my nodes has bad PHP code in it.I googled for "search_cron errors", and found a solution in Drupal.orgI tried it by editing node.module, but I got this error:

Fatal error: Call to undefined function db_fetch_object() in /home/mysite/public_html/modules/node/node.module on line 2616

Can you propose me a solution on how I can find the errorenous PHP code in nodes?I am using Drupal 7.12.


Viewing all articles
Browse latest Browse all 5

Trending Articles