[Plugin : Maintenance Mode 5.2] PHP Parse error and warning
-
Greetings
I recently switched server, and I though the configuration would be similar enough to migrate with no hassle… silly me!
The point is, I get errors when activating the maintenance mode using the plugin (the plugin can be active, without the maintenance mode being online with no problem).
I get those errors when I activate the maintenance mode:
Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in /home/kokstrat/public_html/wp-content/plugins/maintenance-mode/maintenance-mode.php(66) : runtime-created function on line 1
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ” was given in /home/kokstrat/public_html/wp-includes/plugin.php on line 395
Here’s a screenshot
https://img834.imageshack.us/i/bugmaintenance.jpg/The errors also make me bounce back to the login page.
I already set the memory limit to 64m (was 32m)…
Any suggestions?
- The topic ‘[Plugin : Maintenance Mode 5.2] PHP Parse error and warning’ is closed to new replies.