• Resolved ashique12009

    (@ashique12009)


    Hello support,
    I am getting below error error_log:

    09-Jul-2026 00:38:32 UTC] PHP Fatal error: Uncaught TypeError: join(): Argument #2 ($array) must be of type ?array, string given in /blablahome/blabla/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-head.php:230 Stack trace: #0 /blablahome/blabla/public_html/wp-content/plugins/seo-by-rank-math/includes/frontend/class-head.php(230): join(‘, ‘, ‘noindex, nofoll…’) #1 /blablahome/blabla/public_html/wp-includes/class-wp-hook.php(341): RankMath\Frontend\Head->robots() #2 /blablahome/blabla/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
    After getting this error how the website is running?
    How can we fix it?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Rakibuzzaman Siam

    (@rakibuzzamansiam1)

    Hello @ashique12009,

    Thank you for contacting us, and sorry for any inconvenience that might have been caused by that.
     
    Please ensure that you are using the latest version of the Rank Math plugin on your website:
    https://rankmath.com/changelog/ 
     
    If the issue persists, please follow this guide to check whether another plugin or your theme is conflicting with Rank Math: https://rankmath.com/kb/check-plugin-conflicts/ 
     
    Please let us know how it goes. We look forward to assisting you further.

    Thread Starter ashique12009

    (@ashique12009)

    We’re using this version: Version 1.0.253

    Plugin Support Jaideep Asrani

    (@jaideeprm)

    Hello @ashique12009,

    The issue appears to be caused by incorrect rank_math_robots meta entries in your site’s postmeta database table.

    Please check the postmeta table and search for the rank_math_robots meta key. The values should be stored as PHP serialized arrays. If you find any entries where the value is stored as a plain string instead, please remove those entries, as they are likely causing the issue.

    Once you’ve done that, let us know how it goes. We’ll be happy to help further if needed.

    Thread Starter ashique12009

    (@ashique12009)

    Searched it by %rank_math_robots% in meta_key field but no value found!

    Plugin Support Rakibuzzaman Siam

    (@rakibuzzamansiam1)

    Hello @ashique12009,

    In this case, we will need to check this issue further on your site. Please email us directly at support@rankmath.com so our developers can investigate the issue further.

    Looking forward to helping you.

    Plugin Support Rakibuzzaman Siam

    (@rakibuzzamansiam1)

    Hello @ashique12009,
     
    Since we have not heard back from you, we are going to close this thread for now. If you still need any assistance, please feel free to reopen this thread or create a new one, and we will be happy to help.
     
    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.