Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Theme Warning messages after moving WP to root (http://forum.bytesforall.com/showthread.php?t=19356)

Sculley Jan 16, 2013 03:18 PM

Theme Warning messages after moving WP to root
 
Hello,

Not sure which is the correct forum to post this in.....

We installed WordPress into the root, moved it to a WordPress directory to work on it and then moved it back to the root. When we moved it back to the root we got these messages. Can you help resolve? We're not sure what the problem is. The site is here.

Warning: sort() expects parameter 1 to be array, string given in /home/ashevil3/public_html/wp-content/themes/atahualpa/functions/bfa_rotating_header_images.php on line 42

Warning: Invalid argument supplied for foreach() in /home/ashevil3/public_html/wp-content/themes/atahualpa/functions/bfa_rotating_header_images.php on line 49

Warning: array_rand() expects parameter 1 to be array, null given in /home/ashevil3/public_html/wp-content/themes/atahualpa/functions/bfa_header_config.php on line 296

Thanks so much!

juggledad Jan 16, 2013 03:37 PM

What process did you use moving it? did you change all the url's in the database?

Sculley Jan 16, 2013 06:40 PM

Thanks for your reply!!

I changed the config file by adding these lines when moving it to wordPress and then removed them after moving back to root so I wouldn't have to change the sql file:

/** To work on WP in a different folder. Remove when site goes live. Images may act weird. */

define('WP_HOME','http://ashevillecounselingandwellnesscenter.com/wordpress');
define('WP_SITEURL','http://ashevillecounselingandwellnesscenter.com/wordpress');


All times are GMT -6. The time now is 04:37 AM.

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