Warning: Invalid argument supplied for foreach() in /home/...../public_html/admin/header.php on line 70
foreach( $gCms->modules as $modulename => $ext )
In upgrade instructions:
How exactly does this get replaced? I tried a Find and Replace using $gCms->modules and cms_utils::get_module exactly as written but it said string not found. Do these need to be enclosed in any way? So then I used the whole line making it3: Removed the $gCms→modules array. use cms_utils::get_module() instead.
foreach( cms_utils::get_module() as $modulename =>$ext )
This lead to another error coming up in class.cms_utils.php
final public static function & get_module($name,$version = '')
{
return cmsms()->GetModuleInstance($name,$version);
}
Where does it end? What do I do here? Not so easy to upgrade if one doesn't know php.
I have also to do some changes to the footer menu along the same lines but will wait until I know the correct way to do this.
Thanks