spatie / ray

Debug with Ray to fix problems faster

Home Page:https://myray.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ray('test') causes http error 500

rabol opened this issue · comments

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:

  • spatie/ray package version:
  • spatie/laravel-ray package version (if applicable):
    spatie/laravel-ray 1.36.2 Easily debug Laravel apps

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):

  • OS: [e.g. macOS] MacOs
  • Version [e.g. 22] 14.5

Additional context
Add any other context about the problem here.