• ?Hi there –

    We are using JWT Authentication plugin v1.2.6 on a staging server that ALSO uses Basic Authentication.

    When trying to retrieve a token, the plugin is throwing two PHP warnings.

    
    <b>Warning</b>:  explode() expects parameter 2 to be string, object given in <b>/wp-content/plugins/jwt-authentication-for-wp-rest-api/includes/vendor/firebase/php-jwt/src/JWT.php</b> on line 76
    
    
    <b>Warning</b>:  count(): Parameter must be an array or an object that implements Countable in <b>/wp-content/plugins/jwt-authentication-for-wp-rest-api/includes/vendor/firebase/php-jwt/src/JWT.php</b> on line 77
    

    This is happening on a staging server so I can’t really share the URL.

    Any help understanding / tracking down the cause of this would be greatly appreciated.

    Thank you.

  • The topic ‘PHP Warning: explode() expects parameter 2 to be string’ is closed to new replies.