Skip to content

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

@batmanmaxx

Description

@batmanmaxx

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions