Support » Plugin: Total Poll Lite » FIX FOR: “JS Error: Cannot read property ‘enabled’ of undefined”

  • I’m documenting a fix for this JS issue here in case anybody else stumbles over it.

    Add the following to your functions.php or a custom plugin file as a workaround:

    add_action('totalpoll/actions/poll/render/assets', function(){
        wp_add_inline_script( 'totalpoll', 'TotalPoll.settings.limitations.captcha={enabled:false}', 'before' );
    });
    • This topic was modified 1 year, 2 months ago by jancbeck.

    The page I need help with: [log in to see the link]

  • The topic ‘FIX FOR: “JS Error: Cannot read property ‘enabled’ of undefined”’ is closed to new replies.