spatie / ray

Debug with Ray to fix problems faster
https://myray.app
MIT License
554 stars 102 forks source link

ray('test') causes http error 500 #920

Open rabol opened 3 weeks ago

rabol commented 3 weeks ago

Describe the bug I just bought ray and is using it for the first time in a laravel app, I have installed the laravel part like this:

composer require spatie/laravel-ray

Then in my controller:

ray('test')

Class "Ramsey\Uuid\Lazy\LazyUuidFromString" not found {"exception":"[object] (Error(code: 0): Class \"Ramsey\Uuid\Lazy\LazyUuidFromString\" not found at /xxx/xxx/code/web/gottherecipe/vendor/ramsey/uuid/src/UuidFactory.php:507)

Versions Ray version (you can see this in "About Ray"): 2.8.1

You can use composer show to get the version numbers of:

PHP version:8.3.7 Laravel version (if applicable): laravel/framework v11.10.0 The Laravel Framework.

To Reproduce Steps to reproduce the behavior: ray('test');

Expected behavior A clear and concise description of what you expected to happen. Output in Ray app and no errors

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):