Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

problem with addControllerRoute #31

@pioter

Description

@pioter

I add new controller by:

addControllerRoute('hello', 'Index:index')->via('GET')->name('name'); and i have problem with

Invalid argument supplied for foreach()
Location:lib/vendor/slim/slim/Slim/Router.php in handleError , line 147

exactly is:

protected function processGroups()
    {
        $pattern = "";
        $middleware = array();
        foreach ($this->routeGroups => NULL

what i'm doing wrong?

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