Skip to content

Updating Lumen to v5.5.2 throws ErrorException in ServiceProvider #670

Description

@michaeldzjap
  • Lumen Version: 5.5.2
  • PHP Version: 7.1.10
  • Database Driver & Version: MySQL 14.14

Description:

After updating Lumen to version 5.5.2 and trying to visit my site (using homestead) the following error is thrown:

ErrorException
Invalid argument supplied for foreach()

in ServiceProvider.php (line 84)

at Application->Laravel\Lumen\Concerns\{closure}(2, 'Invalid argument supplied for foreach()', '.../vendor/illuminate/support/ServiceProvider.php', 84, array('path' => '.../vendor/illuminate/pagination/resources/views', 'namespace' => 'pagination'))

at ServiceProvider->loadViewsFrom('.../vendor/illuminate/pagination/resources/views', 'pagination')
in PaginationServiceProvider.php (line 16)

at PaginationServiceProvider->boot()

...

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