You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncaught Error: Call to a member function getRequest() on array in \vendor\laravel\framework\src\Illuminate\Foundation\Application.php:85
Which when checked against is just an array of service providers defined by Laravel. This error came out of nowhere since the last thing I did was created a model using the artisan command and I have no clue where to start debugging it.
Stack Trace:
\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(178): Illuminate\Foundation\Application->registerCoreContainerAliases() #1
\bootstrap\app.php(15): Illuminate\Foundation\Application->__construct('D:\\Projects\\lar...') #2
public\index.php(47): require_once('D:\\Projects\\lar...') #3 {main} thrown in \vendor\laravel\framework\src\Illuminate\Foundation\Application.php on line 85
I have tried and removed the vendor folder and reinstall all packages however the error is still there.
Steps To Reproduce:
Could not verify how to reproduce since this does not happen on other projects with same version.
This discussion was converted from issue #36151 on February 05, 2021 14:58.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I have encountered a weird error:
Uncaught Error: Call to a member function getRequest() on array in \vendor\laravel\framework\src\Illuminate\Foundation\Application.php:85
Which when checked against is just an array of service providers defined by Laravel. This error came out of nowhere since the last thing I did was created a model using the artisan command and I have no clue where to start debugging it.
Stack Trace:
I have tried and removed the vendor folder and reinstall all packages however the error is still there.
Steps To Reproduce:
Could not verify how to reproduce since this does not happen on other projects with same version.
Beta Was this translation helpful? Give feedback.
All reactions