Error thrown when looking for update in WP

#38875
  • Resolved Austyn Cohen
    Rank Math free

    Howdy!

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, Rank Math SEO.

    First, visit your website (https://youronlinebutcher.com/) and check for any visible issues. Next, visit the page where the error was caught (https://youronlinebutcher.com/wp-admin/update-core.php?force-check=1) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.3.2
    Current theme: Rey Child (version 1.0.0) Current plugin: Rank Math SEO (version 1.0.40.2) PHP version 7.3.6

    Error Details
    =============
    An error of type E_ERROR was caused in line 33 of the file /data/web/virtuals/240644/virtual/www/domains/youronlinebutcher.com/wp-content/plugins/seo-by-rank-math/includes/admin/class-admin-helper.php. Error message: Uncaught Error: Call to undefined function RankMath\Admin\get_home_path() in /data/web/virtuals/240644/virtual/www/domains/youronlinebutcher.com/wp-content/plugins/seo-by-rank-math/includes/admin/class-admin-helper.php:33
    Stack trace:
    #0 /data/web/virtuals/240644/virtual/www/domains/youronlinebutcher.com/wp-content/plugins/seo-by-rank-math/includes/settings/general/htaccess.php(12): RankMath\Admin\Admin_Helper::get_htaccess_data()
    #1 /data/web/virtuals/240644/virtual/www/domains/youronlinebutcher.com/wp-content/plugins/seo-by-rank-math/includes/admin/class-options.php(166): include(‘/data/web/virtu…’)
    #2 /data/web/virtuals/240644/virtual/www/domains/youronlinebutcher.com/wp-includes/class-wp-hook.php(288): RankMath\Admin\Options->register_option_page(”)
    #3 /data/web/virtuals/240644/virtual/www/domains/youronlinebutcher.com/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
    #4 /data/web/virtuals/240644/virtual/www/domains/youronlinebutcher.com/wp-includes/plugin.php(478): WP_Hook->do_acti

    • This topic was modified 4 years, 1 month ago by Michael Davis.
    • This topic was modified 4 years, 1 month ago by Austyn Cohen.
Viewing 15 replies - 1 through 15 (of 22 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Could you please perform a fresh install of the plugin by deleting it from the plugins page and installing a new copy and let me know if the error is still reported?
    PS: No data loss will happen in this process.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Dennis Dunleavy
    Rank Math pro
    Content AI Starter

    I have same problem. i deleted rankmath plugin and reinstalled and having same problem.

    Hello,

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

    Thank you.

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Please navigate to Rank Math > Status & Tools > Version Control and rollback to the previous version 1.0.40.2 as we investigate this further.

    Looking forward to helping you. Thank you.

    Caused EVEN MORE errors, disabled RM until further notice.

    notify me when this issue is ressolved

    Hello,

    We are extremely sorry for the inconvenience that might have been caused.

    On some installations where other plugins were utilizing CMB2 library, the errors were popping up.

    We have released a quick update, 1.0.41.1

    Updating to the latest version should fix the issue.

    Please let us know if you are still facing an issue(s). We are here to help.

    Thank you.

    Updated, dashboard error gone.

    SAME error still present when looking for updates on WP.

    ERROR:

    Fatal error: Uncaught Error: Call to undefined function RankMath\Admin\get_home_path() in /data/web/virtuals/240644/virtual/www/domains/youronlinebutcher.com/wp-content/plugins/seo-by-rank-math/includes/admin/class-admin-helper.php:33 Stack trace: #0 /data/web/virtuals/240644/virtual/www/domains/youronlinebutcher.com/wp-content/plugins/seo-by-rank-math/includes/settings/general/htaccess.php(12): RankMath\Admin\Admin_Helper::get_htaccess_data() #1 /data/web/virtuals/240644/virtual/www/domains/youronlinebutcher.com/wp-content/plugins/seo-by-rank-math/includes/admin/class-options.php(165): include(‘/data/web/virtu…’) #2 /data/web/virtuals/240644/virtual/www/domains/youronlinebutcher.com/wp-includes/class-wp-hook.php(288): RankMath\Admin\Options->register_option_page(”) #3 /data/web/virtuals/240644/virtual/www/domains/youronlinebutcher.com/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array) #4 /data/web/virtuals/240644/virtual/www/domains/youronlinebutcher.com/wp-includes/plugin.php(478): WP_Hook->do_acti in /data/web/virtuals/240644/virtual/www/domains/youronlinebutcher.com/wp-content/plugins/seo-by-rank-math/includes/admin/class-admin-helper.php on line 33
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.

    Hello,

    Can you please confirm if you are using at least PHP 7?

    We recommend using PHP 7.2 though.

    Looking forward to helping you. Thank you.

    This has nothing to do with my php version, which is up to date.

    This probably has to do with a function that doesn’t exist. Please escalate this issue.

    Server architecture Linux 4.15.18-24-pve x86_64
    Web server Apache
    PHP version 7.3.6 (Supports 64bit values)
    PHP SAPI fpm-fcgi
    PHP max input variables 10000
    PHP time limit 90
    PHP memory limit 512M
    Max input time 30
    Upload max filesize 256M
    PHP post max size 256M
    cURL version 7.29.0 NSS/3.36
    Is SUHOSIN installed? No
    Is the Imagick library available? Yes
    .htaccess rules Your .htaccess file contains only core WordPress features.

    Hello,

    Can you please reinstall the plugin?

    If that doesn’t help, we might need to take a closer look at the settings. Please include your WP logins in the designated 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.

    Hello,

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

    Thank you.

    Hello,

    Can you please provide us with the steps to reproduce as we are not seeing any error on our end?
    wordpress updates page

    Please do try in a private window.

    Looking forward to helping you. Thank you.

    Please check for updates.

    Force check for updates

    • This reply was modified 4 years, 1 month ago by Austyn Cohen.
Viewing 15 replies - 1 through 15 (of 22 total)

The ticket ‘Error thrown when looking for update in WP’ is closed to new replies.