Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] Error caused Montezuma code

Build custom WP THEMES, without
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
Old Jan 2, 2013, 07:43 AM
22 posts · Nov 2012
Russia, Voronezh
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!

Last edited by arteny; Jan 2, 2013 at 07:58 AM.
Old Jan 2, 2013, 07:45 AM
juggledad's Avatar
22,099 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
How are you doing the move?
did you shut off all plugins?
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
Old Jan 2, 2013, 08:31 AM
22 posts · Nov 2012
Russia, Voronezh
Finally, I've resolved problem such way: moved to another theme and then activated Montezuma again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding jigoshop code and get error starrgaizer Plugins & Atahualpa 2 Apr 23, 2012 05:42 PM
[SOLVED] upgrade/activation of 3.5.3 caused blog to go blank/white, can't login to wp boberang New Versions, & Updating 7 Aug 10, 2010 09:55 AM
CPU and Memory Usage Spike Caused by 3.5.2 Diondeville New Versions, & Updating 16 Jul 22, 2010 06:52 AM
Getting error mesage after inserting AdSense code Jerry Atahualpa 3 Wordpress theme 3 May 5, 2009 04:19 PM

All times are GMT -6. The time now is 10:17 PM.

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