Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   Getting errors after migrating to 371 - help (http://forum.bytesforall.com/showthread.php?t=16209)

dave_2222 Dec 8, 2011 01:47 PM

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

juggledad Dec 8, 2011 03:40 PM

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.

dave_2222 Dec 8, 2011 04:52 PM

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

dave_2222 Dec 8, 2011 04:53 PM

1 Attachment(s)
screen clip here

dave_2222 Dec 8, 2011 05:03 PM

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

dave_2222 Dec 8, 2011 05:06 PM

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

dave_2222 Dec 8, 2011 05:08 PM

found the 'Delete bfa_ata4' button...!

dave_2222 Dec 8, 2011 05:13 PM

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

juggledad Dec 8, 2011 06:32 PM

attach a copy of the export to a reply (use the paper clip icon)

dave_2222 Dec 9, 2011 01:35 AM

1 Attachment(s)
Hi
Here is the current exported settings file

regards

David

juggledad Dec 9, 2011 03:45 AM

What version of Atahualpa is this from?
In your wp-config.php do you have
HTML Code:

define('WP_DEBUG', true);

dave_2222 Dec 9, 2011 04:08 AM

Hi

No it states as follows:

*/define('WP_DEBUG', false);

should it say 'true'?

regards
D

dave_2222 Dec 9, 2011 04:10 AM

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

juggledad Dec 9, 2011 05:03 AM

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.

dave_2222 Dec 9, 2011 05:07 AM

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

juggledad Dec 9, 2011 05:27 AM

send me a PM with your email address and I'll send the zipped version

dave_2222 Dec 9, 2011 07:20 AM

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

juggledad Dec 9, 2011 07:23 AM

can you email me a copy of the database export? from before the wp 321 upgrade

dave_2222 Dec 9, 2011 07:33 AM

on its way now

juggledad Dec 9, 2011 08:17 AM

got it. I'll take a look but might not get to it till tomorrow due to other committments.

dave_2222 Dec 9, 2011 08:28 AM

Okay thanks.

D

juggledad Dec 10, 2011 04:33 AM

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

dave_2222 Dec 12, 2011 09:28 AM

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

dave_2222 Dec 12, 2011 09:32 AM

Note I am on WP 321 not 3.1

regards

juggledad Dec 12, 2011 11:31 AM

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


All times are GMT -6. The time now is 09:58 AM.

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