Woo critical error caused by rankmath

#834269
  • Hello, I use Breakdance, gtting a critical error and have had to deactivate rankmath.

    [Mon Jul 08 03:46:52.794746 2024] [proxy_fcgi:error] [pid 491706:tid 140497406179072] [client 43.247.122.87:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/1209607.cloudwaysapps.com/atuswjzujp/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-frontend.php:73\nStack trace:\n#0 [internal function]: RankMath\\Schema\\Frontend->RankMath\\Schema\\{closure}()\n#1 /home/1209607.cloudwaysapps.com/atuswjzujp/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-frontend.php(74): array_filter()\n#2 /home/1209607.cloudwaysapps.com/atuswjzujp/public_html/wp-includes/class-wp-hook.php(324): RankMath\\Schema\\Frontend->add_schema()\n#3 /home/1209607.cloudwaysapps.com/atuswjzujp/public_html/wp-includes/plugin.php(256): WP_Hook->apply_filters()\n#4 /home/1209607.cloudwaysapps.com/atuswjzujp/public_html/wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(106): apply_filters_ref_array()\n#5 /home/1209607.cloudwaysapps.com/atuswjzujp/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class…’

    The issue is due to the plugin SEO-by-rank-math.

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

    I’m sorry to hear that you are facing a critical error with the Rank Math plugin. The error message you provided indicates a fatal error caused by the Rank Math plugin’s schema module.

    To resolve this issue, you can follow these steps:

    1. Disable the Rank Math Plugin: Since the error is related to the Rank Math plugin, you should deactivate the plugin to prevent further issues on your website.

    2. Fix the Fatal Error: To fix the fatal error, you can try one of the following solutions based on your technical expertise:

      • For Advanced Users: You can install a code snippet to delete the problematic option causing the error. Here is the code snippet you can use:

        add_action( 'init', function() { delete_option( 'schema-ActionScheduler_StoreSchema' ); } );

        You can follow the detailed steps provided in this link.

      • Use the Repair Action Scheduler Plugin: If you prefer an automated solution, you can use the Repair Action Scheduler plugin provided by Rank Math. You can download the plugin from here and follow the installation instructions.

    3. Activate Rank Math: After resolving the fatal error, you can reactivate the Rank Math plugin on your website.

    If you need further assistance or encounter any difficulties during the process, please feel free to reply to this ticket. Our support team is here to help you.

    Thank you for bringing this issue to our attention. We appreciate your patience as we work to resolve it.

    Warm regards.

    Sources:
    Fatal Error Happening on Some Installations After 1.0.49 Update » Rank Math
    How to Fix Undefined Offset: 0 Warning » Rank Math
    How to Fix ‘Automatic Update is Unavailable for this Plugin’ Error in Rank Math » Rank Math

    Hello,

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

    This issue is most likely coming from an incorrect Schema markup on these affected products. To get around this issue, you may need to get rid of any entry that starts with rank_math_schema_ under the postmeta table in your database for the affected post.

    Let us know how it goes. 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 2 replies - 1 through 2 (of 2 total)

The ticket ‘Woo critical error caused by rankmath’ is closed to new replies.