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

Profile is not present for current request. #617

Open
HeadStudios opened this issue Jan 4, 2023 · 4 comments
Open

Profile is not present for current request. #617

HeadStudios opened this issue Jan 4, 2023 · 4 comments

Comments

@HeadStudios
Copy link

I am receiving the error "Profile is not present for current request." in the Profiler tab in Clockwork despite Profiler showing as enabled in phpinfo() and the following code in my php.ini file

[PHP]
zend_extension="/usr/lib/php/20210902/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.mode=profile
xdebug.start_with_request=yes
xdebug.log=/etc/php/8.1/fpm/xdebug.log

Any input for potential reasons would be much appreciated.

Thank you!

@royretina
Copy link

same problem, none of the fixes mentioned previously here worked

i am on laravel 10 with the latest 5.1 version of clockwork

@mattvb91
Copy link

any updates? Having the same issue right now.

@cmrafifar
Copy link

I got it working by removing the line xdebug.start_with_request=trigger ... note the documentation said trigger not yes

Probably trigger works, but the documentation didn't seem to mention how to actually trigger it per request.

@itsgoingd
Copy link
Owner

Hey, with the trigger option, you should be able to control whether Xdebug profiler is enabled by clicking on the enable button or checkbox in the Clockwork app.

Screenshot 2023-12-10 at 20 03 01

You can of course enable Xdebug profiler for all requests, but running the profiler adds a substantial performance overhead to your requests.

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

No branches or pull requests

5 participants