By horix on
this might have been answered a while ago when 4.2 actually came out, but im trying to update my theme and i get the error "Invalid argument supplied for foreach() in /usr/local/psa/home/vhosts/wornpath.net/httpdocs/includes/common.inc on line 960" I looked that up and its the function to insert a link into the page but im not really sure what is wrong with the foreach... i dont know the ins-and-outs of drupal to go messing around so if someone could tell me what i need to fix in my theme i would appreciate it... thanks, horix - www.wornpath.net
Comments
i had the same problem
Hi,
I had the same problem. After searching for a while, i found here that l() function (among others) had changed so you should modify your .theme where this function appears.
In my .theme the main problem was that i had something like this at the beginning of my function node:
i changed it, so it is now:
you will probably have to change more l() in your node title and the like...
before:
now:
Good luck
KaT
http://www.fiade.com/
thanks... ill try that out..
thanks... ill try that out.. appreciate the info.