Woocommerce 451 Rankmath crash

#83802
  • Resolved Pierre McCarragher
    Rank Math free

    After i updated woocommerce to 4.5.1 , i get an error message

    Fatal error: Uncaught Error: Call to undefined function RankMath\WooCommerce\is_product_category() in /home/c4herwor/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/woocommerce/class-product-redirection.php:118 Stack trace: #0 /home/c4herwor/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/woocommerce/class-product-redirection.php(77): RankMath\WooCommerce\Product_Redirection->can_redirect() #1 /home/c4herwor/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/woocommerce/class-product-redirection.php(47): RankMath\WooCommerce\Product_Redirection->get_redirection_url(‘about-us’) #2 /home/c4herwor/public_html/wp-includes/class-wp-hook.php(287): RankMath\WooCommerce\Product_Redirection->pre_redirection(NULL, ‘about-us’, ‘about-us’) #3 /home/c4herwor/public_html/wp-includes/plugin.php(249): WP_Hook->apply_filters(NULL, Array) #4 /home/c4herwor/public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(103): apply_filters_ref_array(‘rank_math/redir…’, Array in /home/c4herwor/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/woocommerce/class-product-redirection.php on line 118

Viewing 1 replies (of 1 total)
  • Hello,

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

    The issue seems to only appear if not logged into the site which makes it difficult to replicate this on a live site with a troubleshooting plugin. We will need to deactivate the plugins one by one to find the cause of this issue. Please create a staging site for us and share the access in the sensitive section.

    P.S. I tried reinstalling the plugin and it doesn’t resolve the issue but it seems to show more issues on the page. You can try deactivating Rank math to check.

    Looking forward to helping you. 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 1 replies (of 1 total)

The ticket ‘Woocommerce 451 Rankmath crash’ is closed to new replies.