Error in WordPress Dashboard after installing

#139611
  • Hello,
    I’ve just installed Rank Math on my website WordPress + Woocommerce to replace Yoast Seo.
    After the configuration, my Dashboard is not accessible anymore and it shows that there is a conflict with Rank Math.

    Here the report of the issue:

    An error E_ERROR was caused on line 75 of the file /public_html/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-summary.php. Error message: Uncaught Error: Attempt to assign property “keywords” on null in /public_html/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-summary.php:75
    Stack trace:
    #0 /public_html/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/class-analytics.php(150): RankMath\Analytics\Summary->get_widget()
    #1 /public_html/wp-includes/class-wp-hook.php(287): RankMath\Analytics\Analytics->dashboard_widget()
    #2 /public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
    #3 /public_html/wp-includes/plugin.php(551): WP_Hook->do_action(Array)
    #4 t/public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(88): do_action_ref_array(‘rank_math/dashb…’, Array)
    #5 /public_html/wp-content/plugins/seo-by-rank-math/includes/admin/class-admin.php(100): RankMath\Admin\Admin->do_action(‘dashboard/widge…’)
    #6 /public_html/wp-admin/includes/template.php(1389): RankMath\Admin\Admin->render_dashboard_widget(”, Array)
    #7 /public_html/wp-admin/includes/dashboard.php(256): do_meta_boxes(Object(WP_Screen), ‘normal’, ”)
    #8 /public_html/wp-admin/index.php(181): wp_dashboard()
    #9 {main}
    thrown

    Thank you

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

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    Please ensure you are installing the latest version of Rank Math:
    https://rankmath.com/changelog/

    Can you please check if you are using the recommended PHP version? You may check the system requirements here: https://rankmath.com/kb/requirements/. If the recommended system requirements are met, please try to reinstall Rank Math plugin.

    If the issue persists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Thank you for your help!
    Reading the link you’ve posted I’ve noticed that the issue was the PHP version.
    My server run PHP 8.0 so I’ve downgraded it to PHP 7.4 and now it works.
    Do you know if it will be compatible with PHP 8.0 in the near future?

    Thank you again for your help!

    Hello,

    I am glad that this resolves your issue.

    Our developers are aware of this issue and are working on a fix for the next update. You may keep track of our changelog page here: https://rankmath.com/changelog/

    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 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this ticket.