Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] Error caused Montezuma code

Old Jan 2, 2013, 08: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 08:58 AM.
Old Jan 2, 2013, 08:45 AM
juggledad's Avatar
23,697 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
How are you doing the move?
did you shut off all plugins?
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Jan 2, 2013, 09: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 06: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 10:55 AM
CPU and Memory Usage Spike Caused by 3.5.2 Diondeville New Versions, & Updating 16 Jul 22, 2010 07:52 AM
Getting error mesage after inserting AdSense code Jerry Atahualpa 3 Wordpress theme 3 May 5, 2009 05:19 PM

All times are GMT -6. The time now is 06:23 PM.

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