Closed grappetite-tahir closed 1 year ago
im having the same problem.
@grappetite-tahir can you have a look at https://github.com/edamov/pushok/issues/132#issuecomment-806875951
I had this issue on my AWS instance, please install the extensions, gmp
and bcmath
, then restart your server.
use Pushok\AuthProvider; $authProvider = AuthProvider\Token::create($options);
these 2 changes work for me.
Before it was working and now I come back to this project and I can see its giving me this error. I'm using PHP 7.2+ Laravel 5.8+
What I'm missing
All the traits are included
use Pushok\AuthProvider; use Pushok\Client; use Pushok\Notification; use Pushok\Payload; use Pushok\Payload\Alert;
Still getting this issue.
This line $authProvider = AuthProvider\Token::create($options);
I change this line to $authProvider = Pushok\AuthProvider\Token::create($options); or $authProvider = \Pushok\AuthProvider\Token::create($options);
but no luck.