• Resolved tmargot

    (@tmargot)


    Hi,

    Recently I started receiving a bind error in the Customiser when Contact Form 7 plugin is active. I deactivated all plugins, chose a default WordPress theme, and tried several times with and without Contact Form 7 active and every time received the same error when Activated. Any ideas?

    Error:

    customizer.js?ver=2.0.4:62 Uncaught TypeError: Cannot read property 'bind' of undefined
        at Object.init (customizer.js?ver=2.0.4:62)
        at HTMLDocument.<anonymous> (customizer.js?ver=2.0.4:357)
        at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,wp-util,jquery-ui-core,jquery-ui-…:2)
        at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,wp-util,jquery-ui-core,jquery-ui-…:2)
        at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,wp-util,jquery-ui-core,jquery-ui-…:2)
        at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,wp-util,jquery-ui-core,jquery-ui-…:2)
    init	@	customizer.js?ver=2.0.4:62
    (anonymous)	@	customizer.js?ver=2.0.4:357
    i	@	load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,wp-util,jquery-ui-core,jquery-ui-…:2
    fireWith	@	load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,wp-util,jquery-ui-core,jquery-ui-…:2
    ready	@	load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,wp-util,jquery-ui-core,jquery-ui-…:2
    K	@	load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,wp-util,jquery-ui-core,jquery-ui-…:2
    

    Version Info:
    PHP v5.5.9-1ubuntu4.21
    Layers v2.0.4
    Layers Pro v2.0.1
    WordPress v4.8

    Memory Settings:
    php.ini: memory_limit = 512M
    wp-config.php:
    define(‘WP_MEMORY_LIMIT’, ‘256M’ );
    define(‘WP_MAX_MEMORY_LIMIT’, ‘512M’);

    The system has sufficient memory:
    MemTotal: 3521688 kB
    MemFree: 1946320 kB
    MemAvailable: 2519784 kB

    Thank you,
    Tristan

    • This topic was modified 7 years, 4 months ago by tmargot.
Viewing 1 replies (of 1 total)
  • Thread Starter tmargot

    (@tmargot)

    I have managed to resolve this. Strange no errors appeared in my debug.log file last thing yesterday. This morning I checked and there were a whole bunch of timeouts. So I updated my php.ini and changing max_execution_time from 30 to 180 (3 minutes). Whilst there you could also set max_input_time. I believe an overall solution is to update your wp-config.php set_time_limit(180).

    I am running the Layers Pro v2 plugin with Contact Form 7, since Layers Pro v2 the Customiser is dreadfully slow (over a minute).

    Thanks,
    Tristan

    • This reply was modified 7 years, 4 months ago by tmargot.
Viewing 1 replies (of 1 total)
  • The topic ‘bind script error in Customiser’ is closed to new replies.