Title: Version 1.3.4 added a php error
Last modified: August 31, 2016

---

# Version 1.3.4 added a php error

 *  Resolved [ngearing](https://wordpress.org/support/users/ngearing/)
 * (@ngearing)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/version-134-added-a-php-error/)
 * Most recent update add a php error:
    Notice: Undefined variable: this_name in…/
   wp-content/plugins/maintenance-switch/includes/class-maintenance-switch.php on
   line 228
 * [https://wordpress.org/plugins/maintenance-switch/](https://wordpress.org/plugins/maintenance-switch/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [omarfilip](https://wordpress.org/support/users/omarfilip/)
 * (@omarfilip)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/version-134-added-a-php-error/#post-7346239)
 * I can reproduce this error as well. WP v. 4.5.1, Maintenance Switch v. 1.3.4.
 *  Plugin Author [Fugu Design](https://wordpress.org/support/users/fugudesign/)
 * (@fugudesign)
 * [10 years ago](https://wordpress.org/support/topic/version-134-added-a-php-error/#post-7346371)
 * Hi,
 * I can’t reproduce this php error. But it is enough explicit to be fixed.
    The
   next release will fix this issue.
 * Please confirm me at this time.
 * Best regards.
 *  [omarfilip](https://wordpress.org/support/users/omarfilip/)
 * (@omarfilip)
 * [10 years ago](https://wordpress.org/support/topic/version-134-added-a-php-error/#post-7346373)
 * I’ve got debug mode ON, so maybe that’s why you cant reproduce it?
 *  Plugin Author [Fugu Design](https://wordpress.org/support/users/fugudesign/)
 * (@fugudesign)
 * [10 years ago](https://wordpress.org/support/topic/version-134-added-a-php-error/#post-7346379)
 * Hi,
 * The 1.3.5 release will resolve this error.
    Thanks for the feedback.
 * Best regards.
 *  [omarfilip](https://wordpress.org/support/users/omarfilip/)
 * (@omarfilip)
 * [10 years ago](https://wordpress.org/support/topic/version-134-added-a-php-error/#post-7346380)
 * Thanks Fugu, but after upgrading to 1.3.5 I’m seeing these notices:
 * Notice: Undefined property: Maintenance_Switch::$plugin_admin in /var/www/html/
   wp-content/plugins/maintenance-switch/includes/class-maintenance-switch.php on
   line 203
 * The plugin generated 404 characters of unexpected output during activation. If
   you notice “headers already sent” messages, problems with syndication feeds or
   other issues, try deactivating or removing this plugin.
 * Warning: call_user_func_array() expects parameter 1 to be a valid callback, first
   array member is not a valid class name or object in /var/www/html/wp-includes/
   plugin.php on line 235
 *  Plugin Author [Fugu Design](https://wordpress.org/support/users/fugudesign/)
 * (@fugudesign)
 * [10 years ago](https://wordpress.org/support/topic/version-134-added-a-php-error/#post-7346381)
 * Sorry, committed too quickly…
    Could you disable, delete, re-install and re-activate
   the 1.3.5 version of the plugin please? This should solve your issue.
 * Thanks.
 *  [omarfilip](https://wordpress.org/support/users/omarfilip/)
 * (@omarfilip)
 * [10 years ago](https://wordpress.org/support/topic/version-134-added-a-php-error/#post-7346382)
 * Great – that fixed it. Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Version 1.3.4 added a php error’ is closed to new replies.

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

 * 7 replies
 * 3 participants
 * Last reply from: [omarfilip](https://wordpress.org/support/users/omarfilip/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/version-134-added-a-php-error/#post-7346382)
 * Status: resolved