Skip to content

Arg 2 to Illuminate\Foundation\Application::make() must be of the type array, object given #94

@feenx

Description

@feenx
 [ErrorException]
  Argument 2 passed to Illuminate\Foundation\Application::make() must be of the type array, object given, called in
   /home/vagrant/code/g2anime/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 213 and de
  fined

I encountered this error when attempting to run php artisan larasearch:reindex --dir=app/Models but I didn't encounter any errors when running php artisan larasearch:paths --dir=app/Models. I looked at the files in question between Laravel v5.0 and v5.1 and didn't see any differences that could cause the issue and I have another app running Laravel v5.0 with no issues.

Any ideas @iverberk?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions