However errors are still displayed using xdebug. Looking at the output of phpini() its shows that xdebug3 is being used. According to the phpini output those three settings are no longer in use?
Hey @Julian_MP welcome to Kinsta Community!
We’ll make a test to see if we can replicate the issue on this side, but if you would like to try a quick workaround, you can try to disable the xdebug mode entirely.
Open docker and use the left sidebar to move into the Containers tab. Once there, click on devkinsta_fpm and move into the Terminal tab. Write the command phpdismod xdebug, press enter and then click on the restart button at the top right (the circled arrow icon).
Hey Julian, can you please share what DevKinsta version you are using?
I wasn’t able to replicate this on my machine with the latest DevKinsta version (2.11.0). I remember a similar bug being fixed some time ago, is it possible that your DevKinsta version isn’t up to date?
Go inside the site setting in DevKinsta by clicking the wrench icon, note the PHP version used and be sure that the xdebug toggle is off and the php.ini file is saved.
Then click on the top bar on DevKinsta, access the general settings, scroll all the way down, change the PHP Version to the one in use by your site and see if xdebug is enabled there as default package.
If it is, uncheck that and save the setting
Thank you! The local site is running 8.0 and in settings the view defaults to 8.2. I selected 8.0 and debug was checked in php.ini. I unchecked it and saved the setting and it correctly disabled debug. I can toggle it on and off using the php.ini so that’s great.
Using the “ENABLE XDEBUG” however does not work. I also changed my site to run on 8.2 and the ENABLE XDEBUG toggle does not work.
The php.ini solution is fine for my needs though but would be great to get the toggle working if possible.
Many thanks for sorting the solution, much appreciated!