Closed
Description
Hi Support,
Sudden, We are facing the below issue in a server:-
Argument 1 passed to Firebase\JWT\JWT::encode() must be of the type array, string given, called in (/var/www/html/newstudio/vendor/firebase/php-jwt/src/JWT.php:184)
We are just using the below line:-
$payload={"user_id":"2608","email":"siapos@yopmail.com","studio_id":"9247","password":"siapos123"};
define('JWTKEY', 'xyz123!');
$muvi5_token=JWT::encode($payload,JWTKEY,'HS256');
Metadata
Metadata
Assignees
Labels
No labels