wp-graphql / wp-graphql-jwt-authentication

Authentication for WPGraphQL using JWT (JSON Web Tokens)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP 8.1 causes deprecated warnings.

revnelson opened this issue · comments

Running a site with WP 6.1.1, PHP 8.1, WP-GraphQL 1.13.7, and 0.6.0 of this plugin gives the following warning:

Deprecated: str_ireplace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in wp-content/plugins/wp-graphql-jwt-authentication-0.6.0/src/ManageTokens.php on line 349