Problems with php 8.1 and above
-
WP Oauth Server Pro causes an error in wp_admin with PHP 8.1 or above, (it works fine with 8.0 or below).
I get these errors:
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in?/home/forge/mysite.com/public/wp-includes/functions.php?on line?7329
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in?/home/forge/mysite.com/public/wp-includes/functions.php?on line?2189
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in?/home/forge/mysite.com/public/wp-includes/functions.php?on line?7329
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in?/home/forge/mysite.com/public/wp-includes/functions.php?on line?2189
Switch back to 8.0 and the errors go, (I’ve tried deactivating all the other plugins too) by the way moving to 8.3 causes even more errors! I think the plugin is still working OK but even with WP_DEBUG=false the errors display which is not nice for my client.
Any ideas anyone?
Thanks, Ian
- You must be logged in to reply to this topic.