By Big Dog on
I am converting my site from 4.3.2 to 4.4.0 and some custom mudules called latest_comment, latest_blog stopped working. They throw the following error:
warning: Invalid argument supplied for foreach() in /home/harmonic/public_html/bluesharp/themes/xtemplate/xtemplate.theme on line 245.
Looking at the code it looks like this call to theme() is not right. The code is attempting to "return" the strings it found so they can be displayed in the block. The arguments contain the expected values but drupal does not seem to like calling theme() like this anymore. The call is below:
theme("block", $blocktitle, $nodelist);
Does anyone know what I need to change?