WordPress plugin UpdraftPlus not working with XCache

I’ve upgraded from Ubuntu 12.04 to Ubuntu 14.04 and from ISPConfig 3.0.5.4p5 to 3.0.5.4p8 and moved my websites. When using UpdraftPlus plugin for FTP backup I’ve noticed that the backup is stuck at 0%.

Details :
On ISPConfig 3.0.5.4p8, i have PHP 5.5.9, XCache v3.1.0 and UpdraftPlus – Backup/Restore plugin (free version 1.11.18) is not working.
Wordpress version is 4.3.1
OS version is : Ubuntu Server 14.04.3 LTS 64 bit.
The error logged in /var/www/clients/client0/web5/log/error.log is :

[Tue Dec 01 11:41:32.315860 2015] [fcgid:warn] [pid 25690] [client 82.78.246.70:30604] mod_fcgid: stderr: PHP Fatal error: Cannot redeclare class UpdraftPlus_BinZip in /var/www/clients/client0/web5/web/wp-content/plugins/updraftplus/class-zip.php on line 12, referer: http://www.zoovet.ro/wp-admin/options-general.php?page=updraftplus

The problem seems to be related to the plugin not being compatible with XCache.

To disable XCache you don’t have to uninstall it, just edit /etc/php5/mods-available/xcache.ini and set xcache.size = 0.
For the installation above /etc/php5/fpm/conf.d/20-xcache.ini is a symlink to /etc/php5/mods-available/xcache.ini.

In my case I preferred to keep XCache and used another plugin to backup my site, called BackWPup.

Leave a Reply

Your email address will not be published.

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.