Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

[SOLVED] Error caused Montezuma code


  #1  
Old Jan 2, 2013, 07:43 AM
arteny
 
22 posts · Nov 2012
Russia, Voronezh
[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!

Last edited by arteny; Jan 2, 2013 at 07:58 AM.
  #2  
Old Jan 2, 2013, 07:45 AM
juggledad's Avatar
juggledad
 
23,765 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
  #3  
Old Jan 2, 2013, 08:31 AM
arteny
 
22 posts · Nov 2012
Russia, Voronezh
Finally, I've resolved problem such way: moved to another theme and then activated Montezuma again.

Bookmarks

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 06:07 AM.


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