Blog2Social Breaks WP Side Menu Under PHP8.2
-
I recently did a test of PHP 8.2.7 on the latest WordPress 6.2.2 release (this might also occur under PHP 8.1 as I didn’t test that) and enabled debugging, which resulted in quite a few of these errors through the admin dashboard and made the WP left side menu vanish. The only plugin I had enabled was Blog2Social.
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /../wp-includes/functions.php on line 2165
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /../wp-includes/functions.php on line 7053
I initially reported this as a general WordPress bug, but once Blog2Social was identified as the cause, I was directed to pass it back your way. The function in the
functions.php
file is passed incorrect information by the plugin, which should be fixed at the point the information is passed (i.e. Blog2Social).
- The topic ‘Blog2Social Breaks WP Side Menu Under PHP8.2’ is closed to new replies.