I can reproduce this error as well. WP v. 4.5.1, Maintenance Switch v. 1.3.4.
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.
I’ve got debug mode ON, so maybe that’s why you cant reproduce it?
Hi,
The 1.3.5 release will resolve this error.
Thanks for the feedback.
Best regards.
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
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.
Great – that fixed it. Thanks.