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] HELP! Header errors in (http://forum.bytesforall.com/showthread.php?t=12271)

Carlo Jan 16, 2011 07:33 AM

[SOLVED] HELP! Header errors in
 
Please help: for no apparent reason my site is giving this error:


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

Warning: Invalid argument supplied for foreach() in /home/ccozzi/domains/carlitoergosum.nl/public_html/wp-content/themes/atahualpa/functions/bfa_rotating_header_images.php on line 39

Warning: array_rand() [function.array-rand]: First argument has to be an array in /home/ccozzi/domains/carlitoergosum.nl/public_html/wp-content/themes/atahualpa/functions/bfa_header_config.php on line 320


I have no clue as to what's going on. Can someone please help me? It's http://www.carlitoergosum.nl

Thanks for any help.

Carlo Jan 16, 2011 07:47 AM

I found out that having an empty header directory caused the error. That was never a problem. How come it is now? Any ideas?

lmilesw Jan 16, 2011 10:02 AM

If you have %image in the Configure Header Area box I would expect an error if you have no header images so just remove %image.

Carlo Jan 16, 2011 11:26 AM

Yes, I did. I had misused the image container as a transparent bar. I changed that and now use the proper %bar1 instead. Problem fixed.

But the funny thing is that it had been sitting there for so long and it was never a problem, until now. And as far as I know I didn't change anything.

I am still curious what might have caused it and maybe I'll find out someday. In any case it is no longer critical.

Thanks for any replies.

Carlo

lmilesw Jan 16, 2011 02:53 PM

WordPress had some new requirements for themes. It might have been because of the code changes needed to comply with those requirements but I am not certain of that.


All times are GMT -6. The time now is 02:37 PM.

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