Support » Plugin: WooCommerce » 2.4 Common Issue – SyntaxError: Unexpected Token

  • Plugin Author Mike Jolley (a11n)


    If you see this during checkout for example, it means that a plugin or theme is throwing a notice during the ajax post and breaking the response.

    To find out which plugin is doing this, view your sever error logs and look for notices. Your host may be able to help you look for this log if you cannot locate it.

    To prevent plugins and themes from outputting notices entirely, ensure debug mode is off in your wp-config file:

    define('WP_DEBUG', false);
    @ini_set('display_errors', 0);

  • The topic ‘2.4 Common Issue – SyntaxError: Unexpected Token’ is closed to new replies.