Fatal error on Multisite install

#153976
  • Resolved Greig Neilson
    Rank Math free

    Hi there, I have this error on some pages and on the one of the Dashboards of this multisite install. Please advose 🙂

    Fatal error: Uncaught Error: Call to undefined function is_cart() in /home/easybus2/public_html/wp-content/plugins/seo-by-rank-math/includes/class-post.php:176 Stack trace: #0 /home/easybus2/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/paper/class-paper.php(548): RankMath\Post::is_woocommerce_page() #1 /home/easybus2/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php(478): RankMath\Paper\Paper::should_apply_shortcode() #2 /home/easybus2/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php(343): RankMath\Replace_Variables\Post_Variables->get_post_content(Object(stdClass)) #3 /home/easybus2/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-post-variables.php(59): RankMath\Replace_Variables\Post_Variables->get_excerpt() #4 /home/easybus2/public_html/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-manager.php(171): RankMath\Replace_Variables\Post_Variables->se in /home/easybus2/public_html/wp-content/plugins/seo-by-rank-math/includes/class-post.php on line 176
    There has been a critical error on this website.

Viewing 1 replies (of 1 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    The is_cart() function is defined in the WooCommerce plugin and before using it we check if the plugin is active on the site.

    Assuming you are using the latest version of all the plugins, WordPress, and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    1. Could you deactivate all other plugins and reactivate Rank Math alone? It seems like some other plugin conflicts with Rank Math. If you are still facing the issue please share the screencast using imggbb.com so that we can investigate further.

    2. If Rank Math activates without any issue then start activating other plugins one by one and try to find which plugin causes the problem.

    3.To determine that you can follow this troubleshooting guide also:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If the issue is still not resolved, please let us know.

    We really look forward to helping you. Thanks.

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

The ticket ‘Fatal error on Multisite install’ is closed to new replies.