Title: [Plugin : Maintenance Mode 5.2] PHP Parse error and warning
Last modified: August 19, 2016

---

# [Plugin : Maintenance Mode 5.2] PHP Parse error and warning

 *  Resolved [Nickolabs](https://wordpress.org/support/users/nickolabs/)
 * (@nickolabs)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-maintenance-mode-52-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
    [http://img834.imageshack.us/i/bugmaintenance.jpg/](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?

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

 *  Thread Starter [Nickolabs](https://wordpress.org/support/users/nickolabs/)
 * (@nickolabs)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-maintenance-mode-52-php-parse-error-and-warning/#post-1650368)
 * 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](https://wordpress.org/support/users/nickolabs/)
 * (@nickolabs)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-maintenance-mode-52-php-parse-error-and-warning/#post-1650407)
 * 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?
 *  [michael_](https://wordpress.org/support/users/michael_/)
 * (@michael_)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-maintenance-mode-52-php-parse-error-and-warning/#post-1650531)
 * This is fixed in the meantime, please update to version 5.4 of the plugin.
 *  Thread Starter [Nickolabs](https://wordpress.org/support/users/nickolabs/)
 * (@nickolabs)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-maintenance-mode-52-php-parse-error-and-warning/#post-1650532)
 * Thanks, I’ll update it.
 *  [anthonymasure](https://wordpress.org/support/users/anthonymasure/)
 * (@anthonymasure)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-maintenance-mode-52-php-parse-error-and-warning/#post-1650533)
 * 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.

## Tags

 * [fr](https://wordpress.org/support/topic-tag/fr/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 5 replies
 * 3 participants
 * Last reply from: [anthonymasure](https://wordpress.org/support/users/anthonymasure/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-maintenance-mode-52-php-parse-error-and-warning/#post-1650533)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
