Getting errors after migrating to 371 - help
Hi
Just updated both WP (forget what from but now on WP 3.2.1) and then updated Atahualpa from 3.4.? to 3.7.1 and have got problems re-loading my wordpress site. I had widget errors so recalled I should import the Ata settings file I had saved before updating. I now get the following error messages: Warning: Invalid argument supplied for foreach() in wp-content/themes/atahualpa/functions.php on line 55 Warning: Invalid argument supplied for foreach() in wp-content/themes/atahualpa/functions.php on line 866 I tried deleting the whole wp file folders and re-loading the previous version but get the same error - can you advise please? regards David |
they are just warnings and the software will still work. If you want you can do this,
1) DO A DATABASE BACKUP - go no further until you have done this All set with the backup? Good lets continue 2) in 3.7.1 go to ato->export/import settings and export your settings 3) find the downloaded file and open it in a TEXT editor 4) at ato->export/import settings - look at the bottom and press the 'Delete bfa_ata4' button 5) swap back to your text editor and do a select all/copy 6) at ato->export/import settings->Import Atahualpa settings file, paste what you just copied in the box and press the 'import settings' button 7) after teh green refresh message goes away, press the big green 'Save Changes' button now check to see if you still have the warnings. |
Sorry - I seem to have overwritten the 3.7.1. ata settings with the 3.4.9 settings and am getting a muddled export settings message now - see screen clip attached. Tried to reload 3.7.1 but says 'already installed' and won't let me.
David |
1 Attachment(s)
screen clip here
|
1 Attachment(s)
I have 2 ata exported files now - I attach both
1. saved from earlier before I loaded the 3.4.9 settings: ata-20111208.txt 2. one now in the file: to follow... David |
1 Attachment(s)
2. second ata file now in operational file: ata-20111208 (1)
Can't find the 'Delete bfa_ata4' button you refer to... David |
found the 'Delete bfa_ata4' button...!
|
I did all you said now with the first (earlier) exported txt file
I am still left with: Warning: Invalid argument supplied for foreach() in /www/sites/221/367/www.mydomainname/web/blog/wp-content/themes/atahualpa/functions.php on line 59 any clues? thanks David |
attach a copy of the export to a reply (use the paper clip icon)
|
1 Attachment(s)
Hi
Here is the current exported settings file regards David |
What version of Atahualpa is this from?
In your wp-config.php do you have HTML Code:
define('WP_DEBUG', true); |
Hi
No it states as follows: */define('WP_DEBUG', false); should it say 'true'? regards D |
should have said version is 3.7.1 installed but with 3.4.9 settings file imported which has given me result in screen clip (as shown in post #29 above).
regards D |
do you have a database backup from before you started?
I've never seen a problem like this and it will take some time to figure out what is happening. |
HI
yes I backed up everything (all WP files and database before I 1. updated WP 2. updated Atahualpa Thats probably where the problem stems from in that I imported settings from 3.4.9 after doing both the above. at once. Is there a way of re-installing 3.4.9 Atahualpa? I can't find where to get it if there is. regards D |
send me a PM with your email address and I'll send the zipped version
|
Yes I'm back. Reinstalling 3.4.9 did nothing to change error messages. Still read:
Warning: Invalid argument supplied for foreach() in /www/sites/221/367/www.mydomainname/web/blog/wp-content/themes/atahualpa349/functions.php on line 59 Fatal error: Cannot use string offset as an array in /www/sites/221/367/www.mydomainname/web/blog/wp-content/themes/atahualpa349/functions/bfa_get_options.php on line 453 What do you advise? Do I need uninstall/delete everything and start again? David |
can you email me a copy of the database export? from before the wp 321 upgrade
|
on its way now
|
got it. I'll take a look but might not get to it till tomorrow due to other committments.
|
Okay thanks.
D |
1 Attachment(s)
Ok, you were on WP 3.1 and Atahualpa 3.4.9
I created a setup at that level and imported your DB I exported the Atahualpa settings in 3.4.9 I installed Atahualpa 3.7.3 and swapped to it I exported the Atahualpa settings in 3.7.3 So here is what I want you to do. 1) download the attached file (your settings) Attachment 1670 2) go to ato->Export/Import Settings 3) press the GREY 'Reset ALL theme options' 4) go view the site - it should look like the default settings 5) open the attached settings in a TEXT editor and do a select all/copy 6) swap to your browser and go to ato->Export/Import Settings 7) do a paste into the box 'Import Atahualpa settings' and press teh 'Import Settings' button 8) go look at the site that should take care of it. Let me know |
Thanks for that - it has got me back to the default settings and the site is running again at least.
When I got to step 7) my Imprt Settings has no box to paste into, only an upload button, the 'paste in box' is missing. Uploading doesn't alter anything. I am on 349 still. Does the 'paste in box' only appear in 371? Do I need load 371 again? thanks David |
Note I am on WP 321 not 3.1
regards |
Yes the paste box is 3.7.1+ (WP has 3.7.3 finally)
Your DB was exported on 3.1 so that was the STARTING point. That was just to explain where I started from. You are all set being on WP 3.2.1 |
Thanks. I understand. I will give it another go and let you know.
David |
All times are GMT -6. The time now is 01:34 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.