Closed reinhardherrmann closed 3 months ago
When starting query, the following issue occurs
Fatal error: Uncaught Error: Class "App\Models\User" not found in /in/ESCj2:2 Stack trace:
thrown in /in/ESCj2 on line 2 Process exited with code 255.
\App\Models\User::all()->each();
show the user data
No response
PHP Storm 2024.1
8.3
Windows 11
2.7
Local
11
2.5.5
nothing
Please check the the FAQ and see if that solves your problem. Sounds like an interpreter thing.
Short bug description
When starting query, the following issue occurs
Extended bug description
Fatal error: Uncaught Error: Class "App\Models\User" not found in /in/ESCj2:2 Stack trace:
0 {main}
thrown in /in/ESCj2 on line 2
Process exited with code 255.
Your project is not the problem
How to reproduce?
\App\Models\User::all()->each();
Expected behavior
show the user data
Screenshots
No response
IDE & Version
PHP Storm 2024.1
PHP Version
8.3
OS and version
Windows 11
Laravel Tinker plugin version
2.7
Interpreter type
Local
Laravel Version
11
Tinker version
2.7
Psysh version
2.5.5
Additional Context
nothing