Fatal Error: Call to undefined function is_cart()

#83294
  • Resolved mkmeking
    Rank Math free

    Hi,

    My multisite WordPress installation is showing

    “There has been a critical error on your website.

    Learn more about debugging in WordPress”

    This error appears when a user clicks on the activation link from the welcome email.

    I checked the error log and Everytime these lines get added to the log.

    [Mon Sep 07 06:36:16.875978 2020] [proxy_fcgi:error] [pid 15263] [client 172.x.x.x:59080] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function is_cart() in /home/xxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/class-post.php:175\nStack trace:\n#0 /home/xxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/paper/class-paper.php(544): RankMath\\Post::is_woocommerce_page()\n#1 /home/xxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php(440): RankMath\\Paper\\Paper::should_apply_shortcode()\n#2 /home/xxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php(305): RankMath\\Replace_Variables\\Post_Variables->get_post_content()\n#3 /home/xxxx/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php(59): RankMath\\Replace_Variables\\Post_Variables->get_excerpt()\n...'

    Please fix this issue, it is causing issues for the members to signup and activate their account.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Is anybody listening??

    Hi,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    Please delete the plugin and install it once again. It seems like it might not have installed properly.

    If that doesn’t work, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP 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.

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

The ticket ‘Fatal Error: Call to undefined function is_cart()’ is closed to new replies.