PHP 8.1 Deprecation notice at yoast-seo.php: "Automatic conversion of false to array is deprecated" #4842
Labels
3rd party compatibility
Issues related to 3rd party compatibility like theme, plugin or hosting
type: bug
Indicates an unexpected problem or unintended behavior
Milestone
Before submitting an issue please check that you’ve completed the following steps:
Yes - Made sure you’re on the latest version
Yes - Used the search feature to ensure that the bug hasn’t been reported before
Describe the bug
When using PHP 8.1, we'll get a Deprecation notice:
Automatic conversion of false to array is deprecated wp-content/plugins/wp-rocket/inc/3rd-party/plugins/seo/yoast-seo.php:10
it is happening here:
wp-rocket/inc/3rd-party/plugins/seo/yoast-seo.php
Line 10 in 9d3313b
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We should not cause any deprecation notices
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Ticket: https://secure.helpscout.net/conversation/1816071909/331622?folderId=2683093
Backlog Grooming (for WP Media dev team use only)
The text was updated successfully, but these errors were encountered: