# WP\_DEBUG values are still incorrect

**URL:** https://community.kinsta.com/t/wp-debug-values-are-still-incorrect/1441
**Category:** Bug Reports
**Created:** [April 25, 2022, 2:05pm UTC](https://community.kinsta.com/t/wp-debug-values-are-still-incorrect/1441 "2022-04-25T14:05:59Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![philippstracker](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/philippstracker/32/638_2.png) [@philippstracker](https://community.kinsta.com/u/philippstracker)
#### Post date: [August 12, 2022, 1:16pm UTC](https://community.kinsta.com/t/wp-debug-values-are-still-incorrect/1441/3 "2022-08-12T13:16:54Z")

</div>

This issue was resolved once, but apparently is back again:

> [@WP-Config - invalid values for WP\_DEBUG defines](https://community.kinsta.com/t/wp-config-invalid-values-for-wp-debug-defines/126/15):
>
> Q: Date/Time this occurred (Provide your time zone also) A: Q: DevKinsta Version A: 2.2.0 Q: OS Version A: macOS Big Sur Q: Docker Desktop Version A: 4.1.1 Q: Were any error codes or messages observed? If so, what were they? A: No Q: Detailed Description of the Problem A: When activating WP\_DEBUG from DevKinsta UI, it is turned on, but when deactivating the settings returned to wp\_config.php file is added with strings instead of f boolean, so the setting is not interpreted. It works…

I’m also seeing this in all DevKinsta sites on my local machine, using DevKinsta 2.7.0

How to reproduce:

1. Create a new site, or pull an existing site from Kinsta to DevKinsta.
2. Toggle the Debug mode via the DevKinsta UI
3. Review the wp-config.php file. The boolean values are wrapped in quotes - which ironically makes “false” equal to true…

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/0/0386d1936f72679c8d47473d7afbc714eb99095c.png)

---

_[View the full topic](https://community.kinsta.com/t/wp-debug-values-are-still-incorrect/1441)._
