• Resolved Arie Putranto

    (@arieputranto)


    I’m currently developing theme and was only using Chrome to test everything. Everything went well so then I test it on other browser. It was great, it works well on every modern browser but then something strange happened.

    I’m testing it on customizer. Chrome load the theme perfectly and everything’s good. Opera and Firefox shows nothing but blank screen.

    I have checked on Butterfly and Firebug, and it shows no error. I have disabled all styles and scripts but still Opera and Firefox failed to load my theme on Customizer.

    I think it strange because Chrome does showing it?

    What possibly be wrong? Can anyone tell?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Arie Putranto

    (@arieputranto)

    I’ve always turn debug on and enable error logging. None of them shows any error even PHP Notice. As I said, it works perfectly on Chrome. No error on Chrome, Firebug, Butterfly, Apache log whatsoever.

    As I said, it works perfectly on Chrome, and I’m able to load the theme via customizer on Chrome, and only on Chrome.

    It could be a javascript issue. FF in particular tends to hang onto js errors like grim death – sometimes needing a manual kill to force it to let go even after it’s been shut down.

    Thread Starter Arie Putranto

    (@arieputranto)

    I don’t know. I have disables all scripts but still nothing.
    Just out of curiosity, FF indeed returns WARNING:

    Use of attributes' specified attribute is deprecated. It always returns true.

    on jquery.js line 2. But I am aware that it shouldn’t be the problem.

    Thread Starter Arie Putranto

    (@arieputranto)

    I check on the AJAX response results (XHR) and it turns out there’s no WP_CUSTOMIZER_SIGNATURE line at the end of it.

    It turns out, after I manually add a WP_CUSTOMIZER_SIGNATURE line after </html> on my footer.php template file, customizer loads my theme perfectly.

    Now I’m trying to find out how is that WP doesn’t add that line on my theme.

    Just FYI, that line is exists in Chrome

    Wierd …

    Thread Starter Arie Putranto

    (@arieputranto)

    It works fine after I:

    remove_filter( 'shutdown', 'wp_ob_end_flush_all', '1' );
    add_filter( 'shutdown', 'wp_ob_end_flush_all', '1001' );
    Thread Starter Arie Putranto

    (@arieputranto)

    So I mark this as resolved. I will stick to the workaround until further investigation on what cause the problem.

    Thx

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Theme Customizer Problem’ is closed to new replies.