• Resolved Nickolabs

    (@nickolabs)


    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?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Nickolabs

    (@nickolabs)

    I’m still looking for an answer on this matters.
    Since the site is live and that I may need to do some updates on it, this plugin will be useful, which is why I’m pressing on this issue.

    Thread Starter Nickolabs

    (@nickolabs)

    Oh…
    I just noted something of great interest.

    The errors seems to be occurring on the French version of WordPress.

    Why would the fr_FR (the WPLANG setting that is) would cause such an issue?

    This is fixed in the meantime, please update to version 5.4 of the plugin.

    Thread Starter Nickolabs

    (@nickolabs)

    Thanks, I’ll update it.

    Thank you it’s fixed now

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin : Maintenance Mode 5.2] PHP Parse error and warning’ is closed to new replies.