Title: Disable Gutenberg Throws PHP Warning
Last modified: June 24, 2023

---

# Disable Gutenberg Throws PHP Warning

 *  Resolved [Greg Mount](https://wordpress.org/support/users/gregmount/)
 * (@gregmount)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/disable-gutenberg-throws-php-warning/)
 * Disabling the block editor on a CPT caused the following in the debug log:
 * PHP Warning: Undefined array key “post” in /wp-content/plugins/admin-site-enhancements/
   classes/class-disable-components.php on line 129

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bowo](https://wordpress.org/support/users/qriouslad/)
 * (@qriouslad)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/disable-gutenberg-throws-php-warning/#post-16847007)
 * [@gregmount](https://wordpress.org/support/users/gregmount/) this should be fixed
   in v5.2.7. Please update and test. Thank you!

Viewing 1 replies (of 1 total)

The topic ‘Disable Gutenberg Throws PHP Warning’ is closed to new replies.

 * ![](https://ps.w.org/admin-site-enhancements/assets/icon-256x256.png?rev=3099794)
 * [Admin and Site Enhancements (ASE)](https://wordpress.org/plugins/admin-site-enhancements/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/admin-site-enhancements/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/admin-site-enhancements/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-site-enhancements/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-site-enhancements/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-site-enhancements/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bowo](https://wordpress.org/support/users/qriouslad/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/disable-gutenberg-throws-php-warning/#post-16847007)
 * Status: resolved