I did post an update today to the 4.0.8 version, so try and manually remove the plugin files from the wp-content/plugins/ folder and then reinstall it.
Let me know if you have anymore issues. The reason is that you are running php 4.5 or lower and some of the remote storage libraries increased their requirements to at least 4.6
Thread Starter
jsp749
(@jsp749)
Hello Liuta,
Thank you very much for your answer. I have deleted the folder from wp-content, and then I have reinstalled it, but I still get the same problem.
A if this has to do with PHP version, then I will have to update to 4.6, right?
Thank you for the plugin and your help.
I have the same issue w 4.0.8 just deleted it and reinstsalled again from wordpress and got the error on the new install: Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘$value’ (T_VARIABLE) in wp-content/plugins/xcloner-backup-and-restore/vendor/aws/aws-sdk-php/src/functions.php on line 36
I have posted another update in the 4.0.8 package, unfortunately it will require you both you upgrade php to 5.6 minimum to use XCloner, so that will solve the current issue.
Let me know if you have further problems.
Thanks, I have just verified Im still on php 5.4.45. I do have your plug in on another site I manage that is working. It is running php 5.6.36. Is there a specific version of version of php you recommend like php 7 since 5.6 support in December of this year ?
Thread Starter
jsp749
(@jsp749)
Thank you for the help, I will check if I can update to PHP 5.6.
Best regards.
Hi
I am having problems with transfers to remote storage since 22/06/2018:
[2018-06-25 09:58:41] xcloner_remote_storage.INFO: Transferring backup backup_xxxxxxxxxx.com-2018-06-25_09-30-sql-ca213.tar to remote storage DROPBOX [“”] []
[2018-06-25 09:58:41] php_system.INFO: E_ERROR: array ( ‘type’ => 1, ‘message’ => ‘Allowed memory size of 268435456 bytes exhausted (tried to allocate 157286401 bytes)’, ‘file’ =>
Available Memory is 256M, PHP version is 5.6.36.
The problem is occurring on several sites which were previously working, the tried to allocate size seems to be consistently the same across all sites.
I have downloaded and installed your latest update as above.
Just to clarify PHP Memory Limit and WordPress Memory Limit are both set to 256M.
I’ve posted a fix in the 4.0.8 package, so please reinstall this, seems the vendor/srmklive/flysystem-dropbox-v2/src/Client/DropboxClient.php library file has a default limit set top 150MB, so i’ve lowered to 15MB which should work better.
Let me know if the problem continues.
Hi
Sorry. Just tried – deleted and replaced the plugin with the new package, still getting:
[2018-06-25 10:31:07] php_system.INFO: E_ERROR: array ( ‘type’ => 1, ‘message’ => ‘Allowed memory size of 268435456 bytes exhausted (tried to allocate 157286401 bytes)’, ‘file’ => ‘/home/xxxxxxxxxxx.com/public_html/wp-content/plugins/xcloner-backup-and-restore/vendor/srmklive/flysystem-dropbox-v2/src/UploadContent.php’, ‘line’ => 201, ) [] []
[2018-06-25 10:31:22] xcloner_file_system.INFO: Cleaning the backup storage on matching rules [] []
Please check if the vendor/srmklive/flysystem-dropbox-v2/src/Client/DropboxClient.php file was updated, on line 24 it should read
const MAX_CHUNK_SIZE = 15728640; //15MB
otherwise, it could be the WordPress plugins cache which was not updated, so you might want to try again the reinstall or replace that line value manually
Brilliant, thank you. Yes the “updated” file I got from WordPress was not updated. That looks to be working now, I have tested with a couple of 250MB backups and they both uploaded.
Hi, just a heads up, while I now have Xcloner sending backups to remote storage on my sites, I had one which did not:
Same error, I checked and UploadContent.php had updated to: const MAX_CHUNK_SIZE = 15728640; //15MB
Up until this week, the site has been happily backing up with no issues, however, it had a low WordPress memory limit (40M) and it seems that is no longer good enough, I upped it to 256M and the upload worked fine.