Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Forum How-To (http://forum.bytesforall.com/forumdisplay.php?f=9)
-   -   [SOLVED] Error message in header image (http://forum.bytesforall.com/showthread.php?t=23377)

KarinM Jan 7, 2016 08:40 AM

[SOLVED] Error message in header image
 
Hi! I'm getting an error message on two of my sites where I am not using a header image. I'm not sure when this started, but it was in the last month or two, and I'm thinking it has to do with a WP update. Each site's Atahualpa header image folder is empty, as usual. The file the error message is concerned about isn't a file I've tweaked in any way. Any advice?

Thanks so much,
Karin

http://www.tomorrowsfootprint.com/
http://www.treatmentfreebeekeeping.org/

juggledad Jan 7, 2016 11:50 AM

If you updated Atahualpa from an old release, there weres some changes. Go to ATO->Image Location and hit the save button and do the same at 'Style & edit HEADER AREA' and 'Header Image' and see what happens

KarinM Jan 7, 2016 01:16 PM

Thank you! I did these saves and the problem persists....

Karin

juggledad Jan 7, 2016 01:41 PM

go to ATO->Export/Im[opt and export your settings. then attach tehm to a reply.

What vesion of Atahualpa and WP?

Also...do you have %image in the 'Configure Header Area' option?

KarinM Jan 7, 2016 01:52 PM

1 Attachment(s)
I'm using WP 4.4.1 and Atahualpa 3.7.24.

Yes, I have %image. When I deleted that, everything above the page menu bar went away, including the error message. It would make sense to not have %image since I don't want an image, but I want the space and the title/tagline.

See settings attached.

Thanks!

juggledad Jan 7, 2016 02:27 PM

1 Attachment(s)
Ok, that explaines it. You have said to use an image, but you don't have one. The code expects one and hence the warning. You could edit your wp-config.php file and change the line
HTML Code:

    define('WP_DEBUG', true);
to
HTML Code:

    define('WP_DEBUG', false);
however, that would hide any other warnings...OR

You could add the attached image into the ...wp-content/themes/atahualpa/images/header folder. the image is a transparency so it won't show.

You could also create a folder ...wp-content/ata-images and another folder ...wp-content/ata-images/header and put the image in there. Then change the ATO->Image Location->Relative location of images? to be 'wp-content'. This way, the next time you update Atahualpa it will not wipe out the header image.

KarinM Jan 7, 2016 02:45 PM

Perfect!! Thank you so much.

It's odd that the %image suddenly started causing a problem after all these years.

Adding the transparent png to the regular header image folder worked, but I like the permanence of the second method (and I see it now in that panel of the Ata settings), so I did that. For posterity, you meant "You could also create a folder ...wp-content/ata-images and another folder ...wp-content/ata-images/header and put the image in there," right? (no "header" in the first folder, just the second)

Thanks again for your prompt help!

Karin

juggledad Jan 7, 2016 05:23 PM

Quote:

For posterity, you meant "You could also create a folder ...wp-content/ata-images and another folder ...wp-content/ata-images/header and put the image in there," right? (no "header" in the first folder, just the se
You need to create the 'header' folder inside the 'ata-images' folder so the existing code will work. The header images go in the 'header' folder and if you wanted to use a logo image or a favicon, they would just go in the 'ata-images' folder (you could call this folder anything you want.)

Then, since the images are not in the theme folder, they will survive an automatic update.

KarinM Jan 16, 2016 11:37 AM

Right. There was a typo in your reply that I wanted to correct for people who may read this thread later... Thanks, again! Karin

juggledad Jan 16, 2016 01:07 PM

Ahh yes, fixed it.


All times are GMT -6. The time now is 11:51 AM.

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