Title: Php error
Last modified: May 16, 2023

---

# Php error

 *  Resolved Anonymous User
 * (@anonymized-20871082)
 * [3 years ago](https://wordpress.org/support/topic/php-error-592/)
 * In backend i see php warning
   Warning: Undefined array key “state” in /wp-content/
   plugins/maintenance/includes/functions.php on line _1075_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Alexandru Tapuleasa](https://wordpress.org/support/users/talextech/)
 * (@talextech)
 * [3 years ago](https://wordpress.org/support/topic/php-error-592/#post-16742866)
 * That “state” key should be available in the $mt_options variable by default as
   it’s just an option key storing the status of Maintenance mode, on or off. If
   you only saw that come up once, maybe you reset your site options or something
   and it ended up wiping Maintenance options. Otherwise I don’t know 🙁

Viewing 1 replies (of 1 total)

The topic ‘Php error’ is closed to new replies.

 * ![](https://ps.w.org/maintenance/assets/icon-256x256.png?rev=2689583)
 * [Maintenance](https://wordpress.org/plugins/maintenance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/maintenance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/maintenance/)
 * [Active Topics](https://wordpress.org/support/plugin/maintenance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maintenance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maintenance/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Alexandru Tapuleasa](https://wordpress.org/support/users/talextech/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/php-error-592/#post-16742866)
 * Status: resolved