Support » Plugin: Popups for Divi » Front.min.js – Syntax Error

  • Recently I noticed bug when opening popup:

    jquery.js?ver=1.12.4-wp:2 Uncaught Error: Syntax error, unrecognized expression: [href*=#]
        at Function.ea.error (jquery.js?ver=1.12.4-wp:2)
        at ea.tokenize (jquery.js?ver=1.12.4-wp:2)
        at Function.ea [as find] (jquery.js?ver=1.12.4-wp:2)
        at n.fn.init.find (jquery.js?ver=1.12.4-wp:2)
        at front.min.js?ver=2.3.6:1
        at Object.n.initContainer (front.min.js?ver=2.3.6:1)
        at Object.n.activateContainer (front.min.js?ver=2.3.6:1)
        at window.DiviAreaItem.focus (front.min.js?ver=2.3.6:1)
        at Object.n.reOrderAreas (front.min.js?ver=2.3.6:1)
        at Object.t.show (front.min.js?ver=2.3.6:1)

    I found this bug thread from 2019 (https://wordpress.org/support/topic/jquery-error-unrecognized-expression-2/) and found that this is caused by unescaped characters based on the mentioned link (https://github.com/jquery/jquery/issues/2885#issuecomment-176856390)

    I fixed it by editing file: front.min.js in plugin where I changed
    [href*=#] for [href*=\\#]

    Hope it will help.

    • This topic was modified 8 months, 2 weeks ago by peeter1682.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @peeter1682,

    Apologize for the inconvenience!

    I would suggest you to update your wordpress version. It seems like you are using an old version of wordpress. Can you please check, if the issue exists after the update?

    Feel free to get back to me, in-case of any query.

    Regards,
    Syed

    Thread Starter peeter1682

    (@peeter1682)

    Hello,

    @ausyed Thanks for quick response. It seems your suggestion is correct. I didn’t notice the update request for WordPress.

    Appreciate your work! Thanks!

    Peter

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Front.min.js – Syntax Error’ is closed to new replies.