[development] Forum error: Invalid argument supplied for foreach() in node.module on line 521

Ron Parker sysop at scbbs.com
Wed Dec 12 20:40:18 UTC 2007


Andre Molnar wrote:

>
> Well I think it goes without saying that you have to find all the 
> calls to node_load in your theme or custom modules and make sure they 
> have a nid - or at least make sure that nid is tested before making a 
> call to node load.
>
> andre
>
Thank you.  This collective information lead me to look where I had not 
thought to look: my own custom module.  There I found the solution.  It 
was as you said:  The code was calling node_load on an nid that didn't 
exist.

Thanks to all who helped.

-ron

-- 
Ron Parker
Software Creations               http://www.scbbs.com
Self-Administration Web Site     http://saw.scbbs.com
SDSS Subscription Mgmt Service   http://sdss.scbbs.com
Central Ave Dance Ensemble       http://www.centralavedance.com
R & B Salsa                      http://www.randbsalsa.com



More information about the development mailing list