[SOLVED] Error caused Montezuma code
Moving my blog to hoster (arteny.zz.mu) it doesn't work because of following error:
Warning: Invalid argument supplied for foreach() in /home/u987314357/public_html/wp-content/themes/montezuma/includes/widgets_init.php on line 59 This line is foreach( $montezuma as $key => $value ) { I can avoid this problem, adding following code before line 59: if ($montezuma == null) $montezuma = array(); But in this case empty page is shown instead of wordpress blog. Does anybody can help with this problem? Thanks and Happy New Year! |
How are you doing the move?
did you shut off all plugins? |
Finally, I've resolved problem such way: moved to another theme and then activated Montezuma again.
|
All times are GMT -6. The time now is 05:49 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.