Conflict between Rank Math and Litespeed

#507925
  • Resolved Kevin Chauvet
    Rank Math free

    Hey guys !

    On about 10 websites running on Litespeed cache, I have this error :
    unexpected shutdown: PHP Fatal error Uncaught Error: Call to undefined method WP_Object_Cache::flush_group() in /public_html/wp-content/plugins/litespeed-cache/src/object.lib.php:307 Stack trace: #0 /public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-cache.php(98): wp_cache_flush_group('rank_math_rest_...') #1 /public_html/wp-content/plugins/seo-by-rank-math/includes/modules/analytics/workflows/class-jobs.php(178): RankMath\Analytics\Workflow\Jobs->cache_flush_group('rank_math_rest_...') #2 /public_html/wp-includes/class-wp-hook.php(308): RankMath\Analytics\Workflow\Jobs->get_console_data('2022-12-30') #3 /public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #4 /home/astianax/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #5 /public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/actions/ActionScheduler_Action.php(43): do_action_ref_array('rank_math/analy...', in /public_html/wp-content/plugins/litespeed-cache/src/object.lib.php on line 307

    It makes all the Rank Math Scheduled Actions failed and I have no data.
    This is pretty new, since the January 3rd approximately.

    Do you have any idea to solve this ?

    Thanks !!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi kevin, just so you don’t feel alone. I’m also having that issue. It’s definitely a new issue.

    Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Our plugin uses wp_cache_flush_group() and it seems that LiteSpeed overrides it by creating the same function, which is expected to call the WP function.

    Could you please check this one with their dev team as it is possible that they have already a fix ready for this case?

    @Christopher We have also replied to your ticket regarding the same.

    Let us know how this goes.

    Thank you.

    I have open a ticket to Litespeed support, I wait their answer!

    Hello,

    Sure, when you have an answer from them also please ping us in this ticket so we are informed and can provide further insights if the LiteSpeed team requires it.

    Looking forward to hearing back from 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 4 replies - 1 through 4 (of 4 total)

The ticket ‘Conflict between Rank Math and Litespeed’ is closed to new replies.