webpush icon indicating copy to clipboard operation
webpush copied to clipboard

get_object_vars(): Argument #1

Open kakajan opened this issue 3 years ago • 2 comments

Hi, I have this error on web push with laravel 9. Please help me TypeError: get_object_vars(): Argument #1 ($object) must be of type object, array given in /home/.../vendor/pusher/pusher-php-server/src/Pusher.php:459

Thank you

kakajan avatar Apr 21 '22 01:04 kakajan

Solved by upgrading laravel websocket server to new version. But still can't send web push notifications while it's running without errors

kakajan avatar Apr 23 '22 05:04 kakajan

The error wasn't on Webpush, but in the pusher/pusher-php-server package. Has Nothing to do with this package here.

rimace avatar Sep 06 '22 08:09 rimace