Profile is not present for current request.
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!
same problem, none of the fixes mentioned previously here worked
i am on laravel 10 with the latest 5.1 version of clockwork
any updates? Having the same issue right now.
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.
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.
You can of course enable Xdebug profiler for all requests, but running the profiler adds a substantial performance overhead to your requests.