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 » Atahualpa 3 Wordpress theme » New Versions, & Updating »

Problem after updating to 3.6.7: Invalid argument applied


  #1  
Old Aug 31, 2011, 05:15 PM
DavidVanK
 
5 posts · Aug 2011
Problem after updating to 3.6.7: Invalid argument applied

Recently I have updated my updated my Atahualpa theme to 3.6.7 (I don't know anymore what the previous version was, I believe 2.x.x). The updating went fine, until I imported the settings I implemented in my old installation. I then got the following error:

Warning: Invalid argument supplied for foreach() in /www/htdocs/fcdb/wp-content/themes/atahualpa/functions.php on line 59

Fatal error: Cannot use string offset as an array in /www/htdocs/fcdb/wp-content/themes/atahualpa/functions/bfa_get_options.php on line 452


I had made a back-up, but when I deleted the new Atahualpa folder and put back the back-up I made (not the clean install, but with my custom settings), I got the same error!

The errors seem to refer to variables starting with bfa. The first one refers to $bfa_ata_extra_widget_areas, the second one to $bfa_ata. I am no pro in php, but to me it looks like the problem is that these variables are no arrays, although this is asked for by the code (given the 'foreach'-statement. I however could not find where these variables can be found, so I could not test this.

Can someone help me?
  #2  
Old Aug 31, 2011, 05:45 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
go to ato->export/Import Settings and export your settings and then attach them to a reply (paper clip icon)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Aug 31, 2011, 05:54 PM
DavidVanK
 
5 posts · Aug 2011
Thanks for your swift reaction. The import settings are hereby included (note that these are from my back-up: I cannot export the settings of the updated theme as I cannot run Atahualpa at all anymore).
Attached Files
File Type: txt Atahualpa settings -20110825.txt (20.7 KB, 1115 views)
  #4  
Old Aug 31, 2011, 06:37 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what version is this export from?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Sep 1, 2011, 12:43 AM
DavidVanK
 
5 posts · Aug 2011
The version is 3.4
  #6  
Old Sep 1, 2011, 05:30 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Well I imported your settings in 3.4.9 (the first version with export/import) and the only error I get is during the import, I see 6 occurances of
HTML Code:
Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/test/wordpress/wp-content/themes/atahualpa349/functions/bfa_ata_admin.php on line 459
but no errors running or when I switch to 3.6.7

I will be out of contact for the next couple days (vacation - no internet access) so I won't be able to check the forums.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with updating inkdork New Versions, & Updating 5 Sep 19, 2010 05:19 AM
Line 42 Char 9 - invalid argument error SunnyL Atahualpa 3 Wordpress theme 4 Sep 2, 2009 07:05 AM
[SOLVED] Errors: Invalid argument supplied for foreach() Call to undefined function skyline Atahualpa 3 Wordpress theme 1 Jun 4, 2009 12:41 AM


All times are GMT -6. The time now is 03:56 AM.


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