Critical Error – site not working after RankMath upgrade

#47949
  • Resolved Garrett Digital
    Rank Math pro

    I upgraded https://www.garrettdigital.com to the latest version of RankMath today, and it seemed to break my entire website. When I went to the website front end, I see a critical error (screenshot: https://a.cl.ly/mXuB1gyE ) and the same when I try to access the WordPress backend. Luckily, I got an email from my host with troubleshooting details, so I was able to log in to recovery mode and disable Rankmath and now my site is working.

    Here are details from my hosting alert email:
    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.4
    Current theme: Panoramic Child Theme
    Current plugin: Rank Math SEO (version 1.0.42.3)
    PHP version 7.2.25-1+ubuntu18.04.1+deb.sury.org+1

    An error of type E_ERROR was caused in line 1068 of the file /garrettdigital.com/htdocs/wp-content/plugins/seo-by-rank-math/vendor/rollbar/rollbar/src/DataBuilder.php. Error message: Uncaught Error: Class ‘Rollbar\ErrorWrapper’ not found in /garrettdigital.com/htdocs/wp-content/plugins/seo-by-rank-math/vendor/rollbar/rollbar/src/DataBuilder.php:1068
    Stack trace:
    #0 /garrettdigital.com/htdocs/wp-content/plugins/seo-by-rank-math/vendor/rollbar/rollbar/src/Handlers/ErrorHandler.php(59): Rollbar\DataBuilder->generateErrorWrapper(2, ‘include(/var/ww…’, ‘/garret…’, 444)
    #1 /garrettdigital.com/htdocs/wp-content/plugins/safe-svg/lib/vendor/composer/ClassLoader.php(444): Rollbar\Handlers\ErrorHandler->handle(2, ‘include(/var/ww…’, ‘/garret…’, 444, Array)
    #2 /garrettdigital.com/htdocs/wp-content/plugins/safe-svg/lib/vendor/composer/ClassLoader.php(444): include()
    #3 /garrettdigital.com/htdocs/wp-content/plugins/safe-svg/lib/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile(‘/garret…’)
    #4 [internal function]: Composer\Autoload\ClassLoader->loadClass(‘Rollbar\\Payload…’)
    #5 /garrettdigital.com/htdocs

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

    It’s strange that you are getting the Error in the Rollbar package since we have removed that package in the last update. Please uninstall the plugin and install it again from wordpress.org. That should fix the issue.

    I hope that helps.

    Uninstalled and reinstalled the RankMath plugin. Things seem to be working now, but I’ll continue to test.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Alberto
    Rank Math business

    Hello,

    Of course, test it and let us know your results. We are here to help you with any related problems.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Critical Error – site not working after RankMath upgrade’ is closed to new replies.