Skip to content

Call to undefined method Illuminate\Foundation\Application::middleware()  #47

@solarsoft0

Description

@solarsoft0

Steps to reproduce

  1. include the middleware in app/http/kernel.php

Expected behaviour

i expect the middleware to be registered as described in the readme

Tell us what should happen

Actual behaviour

middleware not recognise

Server configuration

Operating system:

**Web server:apache

**Database:php

**PHP version:7.2

Client configuration

**Browser:chrome

**Operating system:windows

Logs

Web server error log


Fatal error: Uncaught Error: Call to undefined method Illuminate\Foundation\Application::middleware() in C:\Users\SOLARSOFT\PhpstormProjects\lifetv\bootstrap\app.php:44
Stack trace:
#0 C:\Users\#####\PhpstormProjects\###\artisan(20): require_once()
#1 {main}
  thrown in C:\Users\#########\PhpstormProjects\####\bootstrap\app.php on line 44


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions