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

Class "Laravel\SerializableClosure\Support\ReflectionClosure" not found #105

Closed
wants to merge 1 commit into from

Conversation

walkor
Copy link

@walkor walkor commented Sep 12, 2024

An error occurs when using illuminate/database in a non-Laravel project.
I sincerely hope you can fix it.
Thank you very much.

Error: Class "Error: Class "Laravel\SerializableClosure\Support\ReflectionClosure" not found" not found in vendor\illuminate\support\Onceable.php:66 Stack trace:
#0 vendor\illuminate\support\Onceable.php(34): Illuminate\Support\Onceable::hashFromTrace() #1 vendor\illuminate\database\Eloquent\Concerns\PreventsCircularRecursion.php(29): Illuminate\Support\Onceable::tryFromTrace() #2 vendor\illuminate\database\Eloquent\Model.php(1663): Illuminate\Database\Eloquent\Model->withoutRecursion() #3 admin\app\controller\AccountController.php(85): Illuminate\Database\Eloquent\Model->toArray()

… found

Error: Class "Illuminate\Support\ReflectionClosure" not found in vendor\illuminate\support\Onceable.php:66
Stack trace:
#0 vendor\illuminate\support\Onceable.php(34): Illuminate\Support\Onceable::hashFromTrace()
illuminate#1 vendor\illuminate\database\Eloquent\Concerns\PreventsCircularRecursion.php(29): Illuminate\Support\Onceable::tryFromTrace()
illuminate#2 vendor\illuminate\database\Eloquent\Model.php(1663): Illuminate\Database\Eloquent\Model->withoutRecursion()
#3 admin\app\controller\AccountController.php(85): Illuminate\Database\Eloquent\Model->toArray()
Copy link

Thank you for your pull request. However, you have submitted this PR on the Illuminate organization which is a read-only sub split of laravel/framework. Please submit your PR on the https://github.com/laravel/framework repository.

Thanks!

@github-actions github-actions bot closed this Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant