Skip to content

[5.5] Pipeline: Function name should be a string (AuthManager) #21249

@saiik

Description

@saiik
  • Laravel Version: 5.5.4
  • PHP Version: 7.1.1
  • Database Driver & Version: MySQL

Description:

Currently trying to upgrade from Laravel 5.4 to 5.5. We are using the Cloudcreativity Laravel JSON package to run a json api with laravel. Also we have our own auth provider to validate JWT tokens.

As soon as we upgrade we get the error "Function name should be a string". After searching through the code and vendor dir, i've a found a solution:

Adding following code to the Laravel AuthManager solved the problem:

public function handle($request, Closure $next) {
     return $next($request);
}

The question is: What tries to call AuthManager::handle? I've found nothing.

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