• Resolved Soulfly999

    (@soulfly999)


    Hi,

    i have a problem with wp retina. In Chrome dev tools (F12) i saw this:

    jquery.flot.retina.js:3
    Uncaught TypeError: Cannot read property 'plugins' of undefined(anonymous function) @ jquery.flot.retina.js:3(anonymous function) @ jquery.flot.retina.js:3

    And the loading of the wordpress dashboard is extremly slow.

    regards
    daniel

    https://www.ads-software.com/plugins/wp-retina-2x/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hello Daniel,

    Interesting, I have never seen that error before. The plugin is not using jquery.flot.retina, this is used by another plugin or maybe your theme.

    As a test, can you try a different theme?

    Then if it works, try your theme again, and disable my plugin. Just to make sure it is linked to my plugin (actually I am not sure, this might be completely unrelated to the retina plugin and might be a theme issue).

    Thread Starter Soulfly999

    (@soulfly999)

    Hey Jordy,

    ok i’m testing a little bit. Maybe it has to do with the wp rocket plugin and the settings to minimize css and js.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Yes, that’s probably it ??
    Try not to minimize the JS as a test, or maybe in a different way.

    Did you solve the problem @souldfly999? I’m seeing the same after updating to WP 4.4. I have WP Rocket, but even when disabled, I get the same error (never did this before, even with WP Rocket running for months).

    Plugin Author Jordy Meow

    (@tigroumeow)

    VeganOstomy, I don’t believe that could come from WP Retina 2x, it seems completely unrelated.

    jquery.flot.retina.js is not part of WP Retina 2x. I know there is “retina” in there but it is a different script that apparently creates retina chart.

    WP Retina 2x works perfectly with WP 4.4 ?? You can update.

    Thanks Jordy. The reason I ask is because I have both wp-retina 2x and WP Rocket, but have noticed this error on my live site, but not my local dev site… I can’t find the source of the error and was hoping that anyone finding a solution might share what they did.

    Plugin Author Jordy Meow

    (@tigroumeow)

    VeganOstomy, if you disable WP Retina 2x, load the admin and check the errors. Do you get the same error?

    Yup, I get:

    “Uncaught TypeError: Cannot read property ‘plugins’ of undefined(anonymous function) @ jquery.flot.retina.js:3j @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.4:2k.add @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.4:2m.fn.ready @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.4:2(anonymous function) @ jquery.flot.retina.js:3(anonymous function) @ jquery.flot.retina.js:3”

    I don’t believe that this plugin is causing the error, but the “retina” part of it did lead me here! hehe

    Plugin Author Jordy Meow

    (@tigroumeow)

    Yeah, I can understand that ?? It looks like the buggy plugin is using this:
    https://www.flotcharts.org/

    Do you have any plugins using a some kind of plotting chart?

    Hmm, charts? Not that I’m aware of, unless the analytics/site stat plugins count.

    I’ll investigate this further. Thanks for your input!

    Plugin Author Jordy Meow

    (@tigroumeow)

    Try disable that analytics plugin, that might be it. Would be nice to post the results here because I think many people will come here like you did since there is “retina” written in the name ??

    Found it!!

    It wasn’t my google analytics plugin, but the JETPACK SITE STATS module that was causing errors! I guess I need to report this to them =)

    Plugin Author Jordy Meow

    (@tigroumeow)

    Ah super! Yes you should ?? But at the same time, they have so many users, they should now already ??

    You pointed me in the right direction – I’ve reported it to them… let’s see how quickly it gets fixed.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘WP Dashboard loading slow: jquery.flot.retina.js:3’ is closed to new replies.