Support » Plugin: Clearpay Gateway for WooCommerce » Console Error

  • Resolved thebeautystore


    I am getting the following console error

    Uncaught SyntaxError: Invalid regular expression: missing /

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Clearpay


    Hi @thebeautystore,

    Thanks for your message.

    From the described behaviour, this is usually the result of the JavaScript file being modified in some way. The majority of the time a 3rd party performance plugin will be the cause of this. If the file is minified and/or concatenated, excluding the afterpay-1.x.js file should resolve this. As a last resort the 3rd party plugin can be disabled.

    If you would like further assistance please submit a support request using the following web form:

    A member of the team will then reach out to you within 1 business day.

    Thank you

    Thread Starter thebeautystore


    I have excluded afterpay-1.x.js from minification and it has resolved the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Console Error’ is closed to new replies.