Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A facade root has not been set in Laravel 5.4 #84

Open
batmanmaxx opened this issue Feb 17, 2017 · 0 comments
Open

A facade root has not been set in Laravel 5.4 #84

batmanmaxx opened this issue Feb 17, 2017 · 0 comments

Comments

@batmanmaxx
Copy link

I really could use some help with this one.

I'm using https://github.com/maknz/slack without issue when using SYNC (queue).

When I move to production w/ REDIS queue the code does not work.

A controller fires an event. The event listener fires and calls the code, i.e.

Slack::setDefaultUsername($username);

However, I get the following error in my logs which is a result of an exception being thrown "A facade root has not been set."

[2017-02-16 04:44:26] production.WARNING: AnalyticsService failed to notify to Slack. {"message":"A facade root has not been set."}

Can somebody help me understand what "A facade root has not been set." means and why this issue is only happening when I use REDIS versus SYNC?

Thank you very much in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant