Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error starting Tinker Query[Bug]: #323

Closed
1 task done
reinhardherrmann opened this issue Apr 19, 2024 · 1 comment
Closed
1 task done

Error starting Tinker Query[Bug]: #323

reinhardherrmann opened this issue Apr 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@reinhardherrmann
Copy link

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

  • I tried using a fresh laravel install - I'm fairly certain it has nothing to do with my project.

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

@reinhardherrmann reinhardherrmann added the bug Something isn't working label Apr 19, 2024
@Roboroads
Copy link
Owner

Please check the the FAQ and see if that solves your problem. Sounds like an interpreter thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants