Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   [SOLVED] Error caused Montezuma code (http://forum.bytesforall.com/showthread.php?t=19234)

arteny Jan 2, 2013 07:43 AM

[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!

juggledad Jan 2, 2013 07:45 AM

How are you doing the move?
did you shut off all plugins?

arteny Jan 2, 2013 08:31 AM

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 02:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.