Title: Syntax error, unrecognized expression
Last modified: December 9, 2020

---

# Syntax error, unrecognized expression

 *  Resolved [Marc Bernard](https://wordpress.org/support/users/luxxor/)
 * (@luxxor)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/syntax-error-unrecognized-expression-2/)
 * The shortcode finder plugin has a conflict with Modula plugin. When maintaining
   a Modula gallery (in admin), shortcodes-finder-admin.js runs into the following
   error:
 *     ```
       Uncaught Error: Syntax error, unrecognized expression: #!modula-general
           at Function.ea.error (jquery.js?ver=1.12.4-wp:2)
           at ea.tokenize (jquery.js?ver=1.12.4-wp:2)
           at ea.select (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 new n.fn.init (jquery.js?ver=1.12.4-wp:2)
           at n (jquery.js?ver=1.12.4-wp:2)
           at HTMLDocument.<anonymous> (shortcodes-finder-admin.js?ver=1.4.3:177)  <<<<
           at i (jquery.js?ver=1.12.4-wp:2)
           at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
       ```
   
    -  This topic was modified 5 years, 6 months ago by [Marc Bernard](https://wordpress.org/support/users/luxxor/).

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

 *  Plugin Author [Scribit](https://wordpress.org/support/users/scribit/)
 * (@scribit)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/syntax-error-unrecognized-expression-2/#post-13772196)
 * Hi Marc and thanks for your report.
    Can you explain me better how to reproduce
   this conflict? I’ve activated the modula plugin ([https://it.wordpress.org/plugins/modula-best-grid-gallery/](https://it.wordpress.org/plugins/modula-best-grid-gallery/)),
   created a gallery with some media and inserted it in a page. Then I’ve used Shortcodes
   finder to search it and it has be found correctly both in “Find by shortcode”
   and “Find by content” pages, with no errors apparently. Maybe have you a demo
   site to test it?
 *  Thread Starter [Marc Bernard](https://wordpress.org/support/users/luxxor/)
 * (@luxxor)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/syntax-error-unrecognized-expression-2/#post-13773633)
 * If you go back to your Modula gallery, the media you added before won’t be visible.
   Instead, the error I mentioned is raised. It works again after you deactivate
   shortcode finder.
 * The Modula page contains several “[?]”, which your script might confuse for shortcodes.
 * A possible solution might be to limit loading shortcodes-finder-admin.js to certain
   admin pages only.
 *  Plugin Author [Scribit](https://wordpress.org/support/users/scribit/)
 * (@scribit)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/syntax-error-unrecognized-expression-2/#post-13775349)
 * Ok, I’ve reproduced and corrected it in my development environment.
    Next week
   I will release it in version 1.4.5. Thanks again [@luxxor](https://wordpress.org/support/users/luxxor/)
    -  This reply was modified 5 years, 6 months ago by [Scribit](https://wordpress.org/support/users/scribit/).
    -  This reply was modified 5 years, 6 months ago by [Scribit](https://wordpress.org/support/users/scribit/).
 *  Plugin Author [Scribit](https://wordpress.org/support/users/scribit/)
 * (@scribit)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/syntax-error-unrecognized-expression-2/#post-13776400)
 * Version 1.4.5 released just now.
 *  Thread Starter [Marc Bernard](https://wordpress.org/support/users/luxxor/)
 * (@luxxor)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-unrecognized-expression-2/#post-13783014)
 * Tested. Works! Thank you!

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

The topic ‘Syntax error, unrecognized expression’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-finder/assets/icon-256x256.png?rev=2305831)
 * [Shortcodes Finder](https://wordpress.org/plugins/shortcodes-finder/)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-finder/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-finder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-finder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-finder/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Marc Bernard](https://wordpress.org/support/users/luxxor/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-unrecognized-expression-2/#post-13783014)
 * Status: resolved