PHP 8.2 Fatal Error (was previously warning in 7.4)

#506170
  • Resolved Chad Reitsma
    Rank Math free

    On sites using PHP 8.2

    Fatal error: Uncaught TypeError: array_values(): Argument #1 ($array) must be of type array, string giving in: /plugins/seo-by-rank-math/includes/class-helper.php on line 196

    Previously in PHP 7.4, this was just a warning that could be ignored, but is now causing problems on some client sites due to using 8.2

Viewing 3 replies - 1 through 3 (of 3 total)
  • Chad Reitsma
    Rank Math free

    Oh, I forgot to mention – we are using the latest version: 1.0.105

    Chad Reitsma
    Rank Math free

    For some reason the wp_option: “rank_math_modules” was empty in the database, I copied the value (the serialized array) from a different website and it worked.

    Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    We are glad that you have already managed to resolve the issue.

    If you have any other concerns, please don’t hesitate to contact us anytime to assist you further.

    Looking forward to helping you.

    Thank you.

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

The ticket ‘PHP 8.2 Fatal Error (was previously warning in 7.4)’ is closed to new replies.