Title: Console Error &#8211; Uncaught SyntaxError
Last modified: July 16, 2024

---

# Console Error – Uncaught SyntaxError

 *  Resolved [backpackingseries](https://wordpress.org/support/users/backpackingseries/)
 * (@backpackingseries)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/console-error-uncaught-syntaxerror/)
 * Hi,
 * Thank you for this helpful plugin. I am noticing a conflict with WPGeoDirectory
   Addon – Embed Ratings widget. On a sample URL provided, you’d notice that the
   page has a button titled “Download Embed Code” – just above the reviews section.
   When I click it, instead of showing realtime preview, it keeps on showing text“
   Loading”. The browser console catches the following error:
 *     ```wp-block-code
       Uncaught SyntaxError: Unexpected identifier 'https'    at m (jquery.min.js?ver=3.7.1:2:880)    at Function.globalEval (jquery.min.js?ver=3.7.1:2:3031)    at Object.dataFilter (jquery.min.js?ver=3.7.1:2:78614)    at jquery.min.js?ver=3.7.1:2:77064    at l (jquery.min.js?ver=3.7.1:2:77466)    at XMLHttpRequest.<anonymous> (jquery.min.js?ver=3.7.1:2:80265)    at Object.send (jquery.min.js?ver=3.7.1:2:80625)    at Function.ajax (jquery.min.js?ver=3.7.1:2:76167)    at Function.<anonymous> (jquery-migrate.min.js?ver=3.4.1:2:4771)    at e.<computed> [as ajax] (jquery-migrate.min.js?ver=3.4.1:2:1582)
       ```
   
 * When I deactivate the “External Links – nofollow, noopener & new window” plugin,
   the error goes away and the embed ratings widget functions as expected.
 * Am I missing anything in the configuration? Could you please suggest a way to
   resolve this please?
 * Kind regards,
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconsole-error-uncaught-syntaxerror%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Alexandru Tapuleasa](https://wordpress.org/support/users/talextech/)
 * (@talextech)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/console-error-uncaught-syntaxerror/#post-17892033)
 * Hi,
 * I checked your page and it seems to be working now even though WP External Links
   is active. So was it cache or have you found a solution?
 *  Thread Starter [backpackingseries](https://wordpress.org/support/users/backpackingseries/)
 * (@backpackingseries)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/console-error-uncaught-syntaxerror/#post-17892111)
 * Thanks [@talextech](https://wordpress.org/support/users/talextech/)
 * That is strange to read. I tried on Google Chrome, Brave Browser, and Firefox.
   All show me the same error – even after clearing all cache/s.
 * It is not working for me. Here’s a screenshot – [https://imgur.com/a/8uxeht9](https://imgur.com/a/8uxeht9)
 * Kind regards,
 *  Plugin Author [Alexandru Tapuleasa](https://wordpress.org/support/users/talextech/)
 * (@talextech)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/console-error-uncaught-syntaxerror/#post-17892149)
 * Hi,
 * Sorry, I misunderstood the issue. I thought clicking the button was not working,
   I missed the issue in the popup. I don’t know what is causing that.
 * Try going to the Exceptions tab in WP External Links settings and for the Apply
   To option uncheck “All Contents” and leave just the sub-boxes checked.
 *  Thread Starter [backpackingseries](https://wordpress.org/support/users/backpackingseries/)
 * (@backpackingseries)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/console-error-uncaught-syntaxerror/#post-17892165)
 * Thank you [@talextech](https://wordpress.org/support/users/talextech/)
 * So I did that – screenshot here – [https://imgur.com/a/1RPHGCl](https://imgur.com/a/1RPHGCl)
 * And it seems to have fixed the issue!
 * PS: I do not understand the fix because all the sub-boxes remain ticked. But 
   it works:) _/\_
 * Kind regards,
 *  Plugin Author [Alexandru Tapuleasa](https://wordpress.org/support/users/talextech/)
 * (@talextech)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/console-error-uncaught-syntaxerror/#post-17892233)
 * “All Contents” use output buffering to update links on all the returned content.
   Suboxes uses individual WordPress hooks for Content, Comments and Widgets so 
   it might not catch all links depending on the theme and where they are located.
 *  Thread Starter [backpackingseries](https://wordpress.org/support/users/backpackingseries/)
 * (@backpackingseries)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/console-error-uncaught-syntaxerror/#post-17892328)
 * Awesome! Thanks much [@talextech](https://wordpress.org/support/users/talextech/)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Console Error – Uncaught SyntaxError’ is closed to new replies.

 * ![](https://ps.w.org/wp-external-links/assets/icon-256x256.png?rev=2103983)
 * [External Links - nofollow, noopener & new window](https://wordpress.org/plugins/wp-external-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-external-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-external-links/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-external-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-external-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-external-links/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [backpackingseries](https://wordpress.org/support/users/backpackingseries/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/console-error-uncaught-syntaxerror/#post-17892328)
 * Status: resolved