• I’m currently getting 2 errors while trying to use customizer and Hueman (latest free version), and the pop-up notification that “There was a problem when trying to load the customizer. Please refer to…to fix the problem.”

    I’ve checked all the php.ini settings regarding server memory size and they are fine.

    Here’s the additional dialog from the JS error from the inspector.

    JS Error Details

    TypeError: api.CZR_preview is undefined[Learn More] site url:939:17
    <anonymous> site url/:939:17
    <anonymous> site url/:937:8

    The code at line 939:17 is as follows:
    setting_cbs = api.CZR_preview.prototype.setting_cbs || {},

    The code at line 937:8 is as follows:
    (function (api, $, _ ) {

    And here’s the block of relevant code from lines 936-942 for some context…

    <script id="preview-settings-cb" type="text/javascript">
          (function (api, $, _ ) {
                var $_body    = $( 'body' ),
                    setting_cbs = api.CZR_preview.prototype.setting_cbs || {},
                    input_cbs = api.CZR_preview.prototype.input_cbs || {},
                    _settingsCbsExtend = {},
                    _inputCbsExtend = {};

    Any suggestions on what is causing this and how to fix it would be appreciated.

    cheers,

    chris

    • This topic was modified 7 years, 9 months ago by chriscrews.
    • This topic was modified 7 years, 9 months ago by chriscrews.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author presscustomizr

    (@nikeo)

    Hi @chriscrews, thank you for this detailed report.

    I’m not able to replicate the issue on my side for the moment.

    The next steps to debug would be to check the following :

    • plugin conflict : Disabling your plugins and see if it fixes the problem. Then reactivate them one by one to identify the one(s) in conflict
    • child theme problem : if you are using a child theme : deactivate it and see if it helps

    Thank you

    Thread Starter chriscrews

    (@chriscrews)

    Thanks Nicolas. I’m not using any child themes, so that is definitely not the issue. Based on additional testing, it appears to be caused by one of the following plugins: Yoast SEO, Nextgen, Monster Insights, Akismet, or Jetpack.

    I haven’t had time to debug all of these yet, but the error started showing up again after disabling all plugins, then going back and installing these four.

    I’ll post an update if I am able to isolate the specific plugin causing the conflict for future reference.

    Thanks for a great theme!

    cheers,

    chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘TypeError: api.CZR_preview is undefined’ is closed to new replies.