• Hi
    We love this plugin but it seems to have an issue with using with wp-cli (www.wp-cli.org). for example, wp-cli is not able to run the export of the database when this plugin is active. This is causing a bit of headache for us as we cannot run backup scripts using wp-cli.

    Any chance you can look at this ? wp-cli is such an awesome tool for us developers and would love it if this plugin was compatible.

Viewing 1 replies (of 1 total)
  • Hello @yashchandra,

    WP Maintenance Mode v2.0.4+ is compatible with WP-CLI. Do you have the latest version of the plugin?

    This is a test with the latest version of WPMM (maintenance activated) and WP-CLI:

    
    george@dev:/var/www/wpmm# wp db export --add-drop-table
    Success: Exported to wpmm.sql
    
    george@dev:/var/www/wpmm# wp --info
    PHP binary:     /usr/bin/php5
    PHP version:    5.6.24-1~dotdeb+7.1
    php.ini used:   /etc/php5/cli/php.ini
    WP-CLI root dir:        phar://wp-cli.phar
    WP-CLI packages dir:
    WP-CLI global config:
    WP-CLI project config:
    WP-CLI version: 0.24.1
    
    george@dev:/var/www/wpmm# wp plugin status wp-maintenance-mode
    Plugin wp-maintenance-mode details:
        Name: WP Maintenance Mode
        Status: Active
        Version: 2.0.8
        Author: Designmodo
        Description: Adds a splash page to your site that lets visitors know your site is down for maintenance. It's perfect for a coming soon page.
    

    If you have the latest version installed, please post the error.

    Thanks.

    • This reply was modified 9 years, 6 months ago by George J.
    • This reply was modified 9 years, 6 months ago by George J.
Viewing 1 replies (of 1 total)

The topic ‘incomptabile with wp-cli ?’ is closed to new replies.