WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin : Maintenance Mode 5.2] PHP Parse error and warning (6 posts)

  1. Nickolabs
    Member
    Posted 4 years ago #

    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
    http://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?

  2. Nickolabs
    Member
    Posted 4 years ago #

    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.

  3. Nickolabs
    Member
    Posted 4 years ago #

    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?

  4. Michael_
    Member
    Posted 3 years ago #

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

  5. Nickolabs
    Member
    Posted 3 years ago #

    Thanks, I'll update it.

  6. anthonymasure
    Member
    Posted 3 years ago #

    Thank you it's fixed now

Topic Closed

This topic has been closed to new replies.

About this Topic