Hi,

I am getting the following warning when I run cron.

warning: Invalid argument supplied for foreach() in /home/sssudmac/public_html/modules/taxonomy/taxonomy.module on line 1189.

Can someone tell me what exactly is this.

Thanks,
Sridhar.

Comments

wretched sinner - saved by grace’s picture

Title: warning: Invalid argument supplied for foreach() in /home/sssudmac/public_html/modules/taxonomy/taxonomy.module on line 1189. » warning: Invalid argument supplied for foreach() in modules/taxonomy/taxonomy.module on line 1189.
Component: theme system » base system
aharown07’s picture

Me to.... only in line 1214. Only when I run cron manually.
Just imported a pile of taxonomy terms using wordpress import module.

Anonymous’s picture

I too am getting this error on line 1214.

Did you find a fix?

Gary

aharown07’s picture

No. Eventually determined that I had data corruption. This became painfully obvious when the site went live.. mysql queries skyrocketing with almost nobody even looking at the site. Anyway, had to backtrack and go to clean data and this solved the problem.

You might find this useful though: http://drupal.org/node/259632

david-en8’s picture

Als o take a look at http://drupal.org/node/295235

aren cambre’s picture

Status: Closed (duplicate) » Active

Does this duplicate #692764: Converting taxonomy vocabulary to required can cause PHP errors in watchdog? Not sure because I am not sure what caused or fixed the problem for all of you?

dave reid’s picture

Status: Active » Closed (duplicate)
aren cambre’s picture

Status: Active » Closed (duplicate)

Note in #7 that the issue is now 692764. 690914 also references node writes, but that is not a Drupal flaw.