Backup Creation Stops! Fix Memory Exhaust Error while Creating a Backup

If you get a fatal error during backup creation with WP STAGING and the debug.log is full with error like “Allowed memory size of 536870912 bytes exhausted (tried to allocate 372736 bytes)…” then add the the following code into the wp-config.php of your WordPress website:

PHP
define('WPSTG_MEMORY_EXHAUST_FIX', true);

After that, try again creating a backup with WP STAGING. We’d be glad if you like to let us know if this works for you. If we get more feedback we can evaluate better if it is worth to activate this option into WP STAGING as default option.

Updated on August 31, 2023