• Hello!

    When I am logged in on my site and the plugin’s toolbar is displayed at the top, an error occurs:
    Uncaught ReferenceError: jQuery is not defined
    at toolbar.js?ver=1555418416:2

    Couldn’t this be easily fixed if jquery is added as $deps in the admin-toolbar.php when the toolbar.js is loaded?

    public function load_toolbar_js(){
    wp_enqueue_script(“wpfc-toolbar”, plugins_url(“wp-fastest-cache/js/toolbar.js”), array(“jquery”), time(), true);
    }

    If I am wrong or this is not really considered an issue, my apologies…

Viewing 1 replies (of 1 total)
  • Plugin Author Emre Vona

    (@emrevona)

    it is not related with wp fastest cache. jquery is not loaded on your site. you should fix the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘Jquery is not defined’ is closed to new replies.