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)
-   -   [SOLVED] Errors in custom image (http://forum.bytesforall.com/showthread.php?t=14413)

sean.e May 30, 2011 04:24 AM

[SOLVED] Errors in custom image
 
I've got one website working with a custom header (http://www.theinstantrockstar.com), but in trying to set up another website, when I try to duplicate adding a custom header to the theme, I guess this message:

Quote:

warning:sort() expects parameter 1 to be array,string given in /home/seanemarkey/flaglercandleco.com/wp-content/themes/atahualpa/functions/bfa_rotating_header_images.php on line 40

Warning:Invalid argument supplied for foreach() in /home/seanemarkey/flaglercandleco.com/wp-content/themes/atahualpa/functions/bfa_rotating_header_images.php on line 47

Warning:array_rand() [function.array-rand]:First argument has to be an array in /home/seanemarkey/flaglercandleco.com/wp-content/themes/atahualpa/functions/bfa_header_config.php on line 304
I've googled this, and I've checked this site. I checked for spaces in the location (and wouldn't know how to fix them even if they were there), and... i don't know what else to do. Please help!!!

I deleted all of the images in the header folder in the ftp for my site, but I still get this message talking about rotating header images.

Thanks for your time,

Sean

juggledad May 30, 2011 04:45 AM

What version of atahualpa and WP?
have you modified any of the code?

sean.e May 30, 2011 11:21 AM

I have not modified the code at all.

wordpress = 3.1.2 (or whatever the previous version before 3.1.3 is)
Atahualps = 3.6.6

Let me know if you need any other information to help me diagnose and solve this frustrating problem!!

thanks again :)

juggledad May 30, 2011 11:39 AM

1) if on 367 appply the bugfix's (New Versions & Updates forum)

If that doesn't fix it
2) How many images do you have in the header folder?
do an export of your settings (ato->export/import settings) and attach them to a reply

sean.e May 30, 2011 12:22 PM

Not sure how to go about the bug fixes and such. :( sorry.

I am only trying to use 1 image. I even tried exporting the settings from the site that works to the site that doesn't, but that did not help anything.

sean.e May 30, 2011 12:23 PM

the page I'm trying to work with is http://www.flaglercandleco.com if you want to take a look at anything... if that helps?

juggledad May 30, 2011 03:09 PM

If you can export the settings, attach them to a reply soi can look at them

sean.e May 30, 2011 04:09 PM

1 Attachment(s)
I attached it to this post. If that doesn't work I'll try something else.

juggledad May 30, 2011 04:34 PM

rename the file 'FlaglerCandleHeader.jpeg' to 'FlaglerCandleHeader.jpg'

sean.e May 30, 2011 04:50 PM

worked! GAWD, that's nice to see it working. Thanks, dude. Much appreciated.


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

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