Rankmath causes a critical error on my woocommerce checkout page

#803603
  • Resolved Anonymous
    Rank Math free

    Hello everyone,

    After updating Rankmath (version 1.0.120) today, my checkout page is no longer accessible. I get a critical error and the page remains blank.

    I have already changed the theme and tested if it doesn’t happen with the basic themes but the error occurs there as well. I also tried deactivating every other plugin to see if there is a conflict but the error stays.

    I have already installed and tested the Health Check plugin but unfortunately without success.

    I have set up a staging page for testing (sensitive Data). What can I do?

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

    I’m sorry to hear about the critical error you are facing on your WooCommerce checkout page after updating Rank Math. This issue might be related to a conflict with other plugins or themes. Since you have already tested with basic themes and the Health Check plugin without success, we can try a few more steps to troubleshoot this issue.

    Given that you have set up a staging page for testing, here are some additional steps you can take:

    1. Disable Rank Math: Temporarily deactivate the Rank Math plugin on your staging site to see if the critical error persists without Rank Math active.

    2. Check for Plugin Conflicts: Perform a plugin conflict check using the Health Check plugin. Disable all plugins except WooCommerce and Rank Math to see if the issue is resolved. If it is, re-enable each plugin one by one to identify the conflicting plugin.

    3. Review Error Logs: Check your error logs for more specific details about the critical error. This can provide insights into what might be causing the issue.

    If the issue persists after trying these steps, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for your understanding and patience in resolving this issue.

    Sources:
    Fatal Error Happening on Some Installations After 1.0.49 Update » Rank Math
    How to Fix ‘Automatic Update is Unavailable for this Plugin’ Error in Rank Math » Rank Math
    Confirming a Theme/Plugin Conflict With Rank Math

    Hello,

    We’ve tried adding a product to the cart, but the page seems to be working fine. Please refer to the screenshot in the sensitive data section.

    If the issue persists, you must have received an email from WordPress with the details about the error. Please share it with us here so we can check.

    If you haven’t received the email with the error code, you can follow this guide to enable debugging in WordPress
    https://wordpress.org/support/article/debugging-in-wordpress/ or you can get in touch with your web host, and they will help you locate the log file.

    Having an error log will help us determine what is causing the critical error on your website.

    Looking forward to helping you.

    Anonymous
    Rank Math free

    Perhaps I wasn’t quite clear in my question.

    The error only affects the checkout area.
    This is the URL I provided.

    So after you have placed an item in the shopping basket and then go to “Kasse” (Checkout) the critical error occurs.

    I have attached the log.

    Hello,

    In this case, 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.

    Please do take a complete backup of your website before sharing the information with us.

    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/

    Looking forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    We would like to check the issue further by accessing your FTP server but your FTP login is currently not valid. Can you please verify from your end?

    Looking forward to helping you.

    Anonymous
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    The issue is coming from your reviews plugin which is trying to add the Google snippet data to the checkout page and triggering our Schema markup functions there as well.

    We disabled that plugin and the checkout page works as intended even with the latest version of our plugin.

    The actual error log is the following:

    
    PHP Fatal error Uncaught Error: Call to a member function get_id() on bool in /is/htdocs/wp11195383_0XSPSDYUH7/www/staging/stagingneu/wp-content/plugins/ryviu/includes/functions.php:376
    

    So we would recommend getting in touch with them and asking them to make sure that the functions for the Google snippet don’t run on the checkout pages where they are not necessary.

    Don’t hesitate to get in touch if you have any other questions.

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

The ticket ‘Rankmath causes a critical error on my woocommerce checkout page’ is closed to new replies.