• yda5

    (@yda5)


    Hey, I’m getting this error https:Uncaught ReferenceError: jQuery is not defined on my home page, and I have no idea how fix that, Could be great if someone could help me with that.
    Thanks.

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

Viewing 7 replies - 16 through 22 (of 22 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Something is calling jQuery incorrectly.

    There’s still something wrong with that facebook pixel:

    fbevents.js:23 [Facebook Pixel] - Call to "fbq('init', '115661712475335', []);" with parameter "user_data" has an invalid value of "[]"

    Also, this is still an issue — the block with

    <script>
      fbq('track', 'ViewContent');
    </script>

    in this bit of code from that plugin:

    <!-- Facebook Pixel Code -->
    <script>
      !function(f,b,e,v,n,t,s)
      {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
      n.callMethod.apply(n,arguments):n.queue.push(arguments)};
      if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
      n.queue=[];t=b.createElement(e);t.async=!0;
      t.src=v;s=b.getElementsByTagName(e)[0];
      s.parentNode.insertBefore(t,s)}(window, document,'script',
      'https://connect.facebook.net/en_US/fbevents.js');
      fbq('init', '115661712475335');
      fbq('track', 'PageView');
    <script>
      fbq('track', 'ViewContent');
    </script>
    </script>
    <noscript><img height="1" width="1" style="display:none"
      src="https://www.facebook.com/tr?id=115661712475335&ev=PageView&noscript=1"
    /></noscript>
    <!-- End Facebook Pixel Code --

    I recommend asking at https://ww.wp.xz.cn/support/plugin/official-facebook-pixel/#new-post so the plugin’s developers and support community can help you with this.

    Is that the cause of the jQuery error? I’m not sure. I can’t keep checking your site for each plugin. You need to do this. DISABLE ALL PLUGINS and see if the jQuery error goes away. If so, then enable them one at a time until the error returns, and you’ve found the culprit. If not, then it’s an issue with your theme.

    Thread Starter yda5

    (@yda5)

    Alright I will try
    What about this:
    content/cache/autoptimize/css/autoptimize_7336754fa3f529051252480dc6eef883.css net::ERR_ABORTED 404
    How can i fix this error, i think it’s a big issue.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You have not cleared your cache. W3 Total Cache is still loaded.

    At this point, we’ve reached the limits of what most in the community here are willing to offer in their spare time (everyone here is a volunteer). You should consider hiring someone so that you can give them direct access to the site for a far more efficient fix than we can provide here.

    Please try https://jobs.wordpress.net/ or https://jetpack.pro/ and do not accept any hire offers posted to these forums.

    We will keep this thread open, unless it veers too far off course, in case someone from the community is willing to provide further help here for free.

    Optimizing Matters

    (@optimizingmatters)

    What about this:
    wp-content/cache/autoptimize/css/autoptimize_7336754fa3f529051252480dc6eef883.css net::ERR_ABORTED 404

    1. clear W3 Total Cache’s page cache as Steve advised
    2. tick the “404 fallback” option near the bottom of Autoptimize’s main settings page.

    Thread Starter yda5

    (@yda5)

    Thank you for your help first of all, I wish i could handle that by myself.
    Anyway:
    1. This plugin isn’t active anymore, so how can i do that ?
    2. ok i did.

    Optimizing Matters

    (@optimizingmatters)

    There might very well be page caching at host (varnish/ nginx) or even 3rd party (sucuri cache, cloudflare, ..) level, so you’ll have to check there as well.

    Thread Starter yda5

    (@yda5)

    Alright, I have to say that one problem is solved thank to you, the pages that were messy are fine now, But i still have the problem when the website is not updating from some reason

Viewing 7 replies - 16 through 22 (of 22 total)

The topic ‘Uncaught ReferenceError: jQuery is not defined’ is closed to new replies.