Cannot read properties of undefined (reading ‘analytics-stats-bar’)

#818248
  • Resolved OXYmore
    Rank Math free

    Hello,

    I have an issue with Rank Math (Free version), I can’t see the Analytics stats bar, due to a jQuery error in console. The error gives the following messages :

    First there is a warning :

    jQuery.Deferred exception: Cannot read properties of undefined (reading 'analytics-stats-bar') TypeError: Cannot read properties of undefined (reading 'analytics-stats-bar')

    The jQuery file is called : jquery.min.js?ver=3.7.1

    This error appears on every page.

    The error :
    Uncaught TypeError: Cannot read properties of undefined (reading 'analytics-stats-bar')

    What kind of informations do you need to clarify the trouble ?

    Best regards,

    Awaiting for your answer.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    I apologize for the issue you are facing with Rank Math and the Analytics stats bar not displaying correctly due to a jQuery error. The error message you provided indicates that there is an issue with reading properties related to the ‘analytics-stats-bar’.

    To troubleshoot this issue, we recommend the following steps:

    1. Check Plugin/Theme Conflicts: Sometimes conflicts with other plugins or themes can cause such errors. Please follow our guide to confirm theme/plugin conflicts: Check Plugin/Theme Conflicts Guide.

    2. Update Rank Math: Ensure that you are using the latest version of Rank Math. Outdated versions can sometimes lead to compatibility issues.

    3. Clear Cache: Clear any caching plugins or server-side caches you might be using to ensure that you are viewing the most recent version of your site.

    If after following these steps the issue persists, please provide us with more details about your setup, such as the WordPress version, Rank Math version, and any other relevant plugins/themes you are using.

    Thank you for reaching out, and we appreciate your patience while we work to resolve this issue for you.

    Looking forward to your response.

    Sources:
    Making the Most of the Analytics in Rank Math
    How to Display Analytics Stats in Frontend » Rank Math

    OXYmore
    Rank Math free

    I already tried this fixes, and didn’t get any result.

    Health Check & Troubleshooting plugin didn’t find any conflict.

    But I saw an update occured 3 days ago. The strange fact is this error appears on my desktop, but not on my colleague desktop.

    Hello,

    Thank you for contacting us and sorry for any inconvenience that this issue might have caused.

    You use the Health Check & Troubleshooting plugin to help you find the culprit plugin or theme without interrupting your site’s visitors/users. The plugin doesn’t find the conflict on its own.

    Assuming you are using the latest version of all the plugins and the theme (please update if not yet), it could be caused by a conflict with one of your plugins/theme.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Let us know how this goes.

    Thank you.

    OXYmore
    Rank Math free

    Hello !

    Thanks for your reply, I followed the troubleshooting guide you sent me.

    I found the issue :

    I use the plugin Complianz for the RGPD stuff, but didn’t think about the cookie consent management, once I accepted the cookies, the stats bar appear ! This was the difference with my colleague desktop.

    Thanks for your answers, you helped me finding it with troubleshooting guide !

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on
    https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post

    about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

You must be logged in to reply to this ticket.