Skip to content

Laravel 5.4: Interface 'Illuminate\Contracts\Bus\SelfHandling' not found #4

Description

@jamesinglis

On an empty cache in Laravel 5.4, I'm facing the following error message:

FatalErrorException in FlushTagFromFileCacheJob.php line 11:
Interface 'Illuminate\Contracts\Bus\SelfHandling' not found

In the Laravel docs, it states "deprecated since version 5.2. Remove from jobs since self-handling is default.

Removing the reference in the class definition and the includes in the class src/Jobs/FlushTagFromFileCacheJob.php appears to resolve this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions