![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcpTTKrVD1cOD17eU36orLAhPsM9aLwk1ilrhspfTWpSr90wRk37RryllSY-swhLjKeKMUHUfjPtKjztiG8F8LPXRYikgBcVNzCqzHrT69b32ziWlyJOCTMf5DJZ-JPxhYTQLf/s320/drupal.png)
warning: Invalid argument supplied for foreach() in /home/mysite/html/drupal/modules/cck/content.module on line 1284
I found the same error here: http://drupal.org/node/519390 but the solution didn't fix my problem but helped me find the problem.
The root cause is a Node linked to a user not present, to find this node just run the following query:
select * from node where uid not in (select uid from users )
select * from node where uid not in (select uid from users )
And modify the UID field linking it to a valid user
4 commenti:
thanx..it help alot
thanx it very helpfull
it is very helpfull code
thanx it very usefull
Post a Comment