Support

Account

Home Forums General Issues Javascript error

Solving

Javascript error

  • Hello,

    I wrote to the support team, few weeks ago, but there is no reply, so checking if someone has seen this problem in the forum.
    We have:
    plugin: advanced-custom-fields – Version 5.7.12
    plugin: advanced-custom-fields-pro – Version 5.6.2
    Wordpress: 4.9.1

    The following JavaScript error is generated:
    SyntaxError: missing ) after argument list
    jquery-ui-timepicker-addon.min.js:2:960

    I’ll be thankful if anyone has seen this error and knows how to resolve.

    Best
    Peter

  • In your wp-config.php file add this line.

    
    define('SCRIPT_DEBUG', true);
    

    This will cause the unminified versions of scripts on your site to be loaded, or should.
    The first thing this will tell you is if the error is in the full script or just the minified version. If it is still there the second thing it will give you is a more accurate idea of where the error actually is.

  • Thanks a lot for the reply John, let me try.

  • In your wp-config.php file add this line.

    define(‘SCRIPT_DEBUG’, true); vidmate
    This will cause the unminified versions of scripts on your site to be loaded, or should.
    The first thing this will tell you is if the error is in the full script or just the minified version. If it is still there the second thing it will give you is a more accurate idea of where the error actually is.

    Thanks for this.
    This worked exactly as expected.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Javascript error’ is closed to new replies.