[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. |
I found out that having an empty header directory caused the error. That was never a problem. How come it is now? Any ideas?
|
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.
|
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 |
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 09:32 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.