Panic. Error when customize
Home › Forums › WordPress Themes – Premium › Encounters › Panic. Error when customize
- This topic has 11 replies, 15 voices, and was last updated 8 years, 10 months ago by
Sushil Adhikari.
-
AuthorPosts
-
April 21, 2014 at 2:13 am #15054
Prisca
ParticipantHello and Happy Easter!
After upgrading WP to 3.9 I get (on all my sites) the major error – please see attached – in the custom-header.php (wp-admin). Don’t have the error in twenty fourteen.
Never had this error before so it seems that it is with your themes – tried only with preference – and only with the sites updated to WP 3.9. Please can you help as fast as possible/? Cannot use the customize.Thank you so much 🙂
Cheers.
screenerror-customheader.jpg
screen-after-save.jpgAttachments:
You must be logged in to view attached files.April 21, 2014 at 2:26 am #19728Prisca
ParticipantSorry – attached is the full error.
Thanks 🙂
screen-full-error.jpgAttachments:
You must be logged in to view attached files.April 21, 2014 at 2:44 am #19729Prisca
ParticipantAfter some research – seems that it has something to do with “default image” – what ever that means. In WP version 3.9 this seems to create a problem.
http://web.archiveorange.com/archive/v/XZYvyNoaXnlMmcWmHk2SI am probably completely wrong but that’s the only one I found with the exact same warning that I have – custom-header.php on line 1248
Hope that helps 🙂
screen-default-image.jpgAttachments:
You must be logged in to view attached files.April 21, 2014 at 5:49 am #19730Sushil Adhikari
ModeratorThis is one of the things that can happen with major updates of WordPress, in which case the WP developers made some major changes but they did not see this issue before…so it appears they have a bug as others have posted this issue in their forums and Trac.
Here is their actual TRAC
https://core.trac.wordpress.org/ticket/27850April 21, 2014 at 8:34 am #19731Prisca
ParticipantThank you so much. I’ve seen that and made the change but did not work. Gives me another warning in included/pluggable.php – only I don’t have any pluggable so..
Oh well, I guess I will revert to older version until they fix the glitch.
Thank you so much and sorry I bugged you so late on a Easter Sunday 🙂
April 21, 2014 at 8:38 am #19732Sushil Adhikari
ModeratorI think they rushed the 3.9 too quickly…so yes, I would suggest reverting back to the previous WP version. As for the other warning for pluggable.php, that is part of their files too. No worries on the Easter Sunday… I took most of the day off except for emergencies and “panic” messages :woohoo:
April 21, 2014 at 8:42 am #19733Prisca
ParticipantAt least that’s good you took most of the day off..haha..what a job we do huh.
And stupid me I rushed to upgrade to 3.9…AAAHHHGGGRRRRR!!!
Anyway – thank you again – have a good night 🙂
Cheers
May 5, 2014 at 11:45 pm #19845Victor
MemberIf you go into the theme root like…… celestial/includes/custom-header.php and delete the following code it works fine.
// Set a default starter image. 'default-image' => get_template_directory_uri() . '/images/demo-header.jpg',
Personally, I would rather the theme not have a default header in place.
May 5, 2014 at 11:49 pm #19847Prisca
ParticipantThank you so much! I will try that 🙂
May 6, 2014 at 12:10 am #19848Sushil Adhikari
ModeratorIf you go into the theme root like…… celestial/includes/custom-header.php and delete the following code it works fine.
// Set a default starter image. 'default-image' => get_template_directory_uri() . '/images/demo-header.jpg',
Personally, I would rather the theme not have a default header in place.
Correct code to remove but the path to the custom-header.php file should be the encounters theme and not the celestial one for this topic being Encounters :whistle:
Thanks Victor for posting the solution, albeit it’s a temporary one until the WordPress team fixes their 3.9 bugs (this being one of them).
May 6, 2014 at 12:15 am #19849Victor
MemberI was hoping you might remove the default image going forward? :ohmy: Celestial was just the example I used but I guess when helping out the members I will insert the theme they are working with so there is no confusion. 🙂
May 6, 2014 at 12:43 am #15055Sushil Adhikari
ModeratorNo worries… in fact I love it when everyone can help each other with solutions.
As for the default header, depends on the theme and how it’s used. For example, Circumference uses the WP header as a banner area background, so removing that takes out the default background which the theme is built to have in place as part of the overall style (removable by the user of course). Just unfortunate though there is a bug with WP 3.9. With future theme development, I will see what kind of use the WP header will involve because with feedback from theme users, things change by constantly improving on what works and what doesn’t for everyone. The goal is to design a theme that requires no support 🙂 -
AuthorPosts
- You must be logged in to reply to this topic.