PHP 8.1 Automatic conversion of false to array is deprecated
-
I’m seeing this in my PHP logs when testing against PHP 8.1
PHP Deprecated: ?Automatic conversion of false to array is deprecated in /web/app/plugins/seo-by-rank-math/includes/helpers/class-wordpress.php on line 281
The last item in the stack trace is:
PHP ?24. RankMath\Helper::get_thumbnail_with_fallback($post_id = 1080, $size = 'full') /web/app/plugins/seo-by-rank-math/includes/modules/schema/snippets/class-primaryimage.php:31
I actually tried to supply the full stacktrace in pastebin, but the not so SMART filter deemed it as offensive.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘PHP 8.1 Automatic conversion of false to array is deprecated’ is closed to new replies.