Panic. Error when customize

Home Forums WordPress Themes – Premium Encounters Panic. Error when customize

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #15054
    Prisca
    Participant

    Hello 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.jpg

    Attachments:
    You must be logged in to view attached files.
    #19728
    Prisca
    Participant

    Sorry – attached is the full error.

    Thanks 🙂
    screen-full-error.jpg

    Attachments:
    You must be logged in to view attached files.
    #19729
    Prisca
    Participant

    After 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/XZYvyNoaXnlMmcWmHk2S

    I 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.jpg

    Attachments:
    You must be logged in to view attached files.
    #19730
    Sushil Adhikari
    Moderator

    This 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/27850

    #19731
    Prisca
    Participant

    Thank 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 🙂

    #19732
    Sushil Adhikari
    Moderator

    I 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:

    #19733
    Prisca
    Participant

    At 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

    #19845
    Victor
    Member

    If 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.

    #19847
    Prisca
    Participant

    Thank you so much! I will try that 🙂

    #19848
    Sushil Adhikari
    Moderator

    If 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).

    #19849
    Victor
    Member

    I 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. 🙂

    #15055
    Sushil Adhikari
    Moderator

    No 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 🙂

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.