Support » Plugin: Draw Attention » Stopped working after wordpress Update

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Natalie MacLees


    Hello Carlos!

    It looks like your RevSlider plugin is causing a JavaScript error, and that’s stopping all the other JavaScript on the site from being able to function correctly. Are you able to remove that plugin?


    Hello Natalie, thanks for you support.
    I desactived RevSlider plugin, but the Map not working correctly yet.


    Plugin Author croixhaug


    Hi Carlos, it looks like there’s another javascript error being triggered by the “autoptimize” plugin:
    Uncaught Error: Syntax error, unrecognized expression: [href=#]

    Is that plugin up to date? If so, deactivating it should temporarily resolve it and you should contact that plugin’s support to see if it’s a known issue.

    Any javascript error makes any other javascript on the page break (including Draw Attention of course :/)

    Hiya guys;
    I’m autoptimize’s developer. AO does not inject it’s own JS, but aggregates & minifies the JS the theme & plugins enqueue. As such, the error due an error in the JS of one of the plugins (or theme).

    In this case the error is triggered by JS which relies on an older version of jquery, cfr. information here. Make sure all plugins and your theme are updated to the latest version, or alternatively disable plugins (or switch theme) to identify who is triggering this error.

    hope this clarifies,

    Plugin Author croixhaug


    Thanks Frank, that’s helpful information. Carlos please try disabling plugins individually so we can identify the problematic plugin. Or if you disable autoptimize temporarily then we could see the specific javascript files triggering the error.


    it’s in the theme, actually;

    in there [href=#] is used 4 times;

    jQuery(".fusion-menu a:not([href=#], .fusion-megamenu-widgets-container a, .search-link), .fusion-mobile-nav-item a:not([href=#], .search-link), .fusion-button:not([href=#]), .fusion-one-page-text-link:not([href=#])").click(function(){}

    You’ll want to upgrade Avada to fix this or alternatively (not guarantees or warranty from me though) change the code into something like:

    jQuery('.fusion-menu a:not([href="#"], .fusion-megamenu-widgets-container a, .search-link), .fusion-mobile-nav-item a:not([href="#"], .search-link), .fusion-button:not([href="#"]), .fusion-one-page-text-link:not([href="#"])').click(function(){}


    Hi guys,
    Thank you for your reply.
    I upgraded the theme to the final version and now the plugin working correctly!

    Thanks a lot Natalie, Nathan and Frank

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Stopped working after wordpress Update’ is closed to new replies.