berkayk / laravel-onesignal

OneSignal Push Notifications for Laravel
506 stars 176 forks source link

message: "Call to undefined method Berkayk\OneSignal\OneSignalFacade::send()", #121

Closed umsuka closed 4 years ago

umsuka commented 5 years ago

Hi Guys

I wanted to check if anyone has experienced this error and how did you solve it.

message: "Call to undefined method Berkayk\OneSignal\OneSignalFacade::send()", exception: "Symfony\Component\Debug\Exception\FatalThrowableError",

WSBrendonBallantyne commented 4 years ago

In my case this error meant that I hadn't used the correct path to the library. I was able to reference it with just:

use OneSignal;