• I have a site which is generating the following errors when I include the XML Export in my BackWPup job:
    WARNING: XML ERROR (2):
    WARNING: XML RECOVERABLE (1): xmlSAX2StartElementNs: out of memory
    WARNING: XML ERROR (5):

    The errors are not so serious as to generate an error email message, and the backup file does seem to include an XML file, but still—even BackWPup is telling me to resolve the errors for correct execution.

    I turned off all my plugins and generated an error-free backup, and then turned the plugins on one-by-one. When I reactivated Jetpack, I got the error. But instead of just blaming Jetpack, I tried activating a bunch of plugins and not Jetpack and I got the error. So I think it’s plugin volume that’s the problem. I don’t have a crazy number of plugins running (9).

    I am able to export manually through WordPress tools. The resulting XML file is 32MB.

    https://www.ads-software.com/plugins/backwpup/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,
    the manual export on WordPress will not be checkt if it is correct.

    This loks more like a Memory problem. If you activate more plugins more Memory is needed. You can try to increase the Memory that can be use by setting https://codex.www.ads-software.com/Editing_wp-config.php#Increasing_memory_allocated_to_PHP (WP_MAX_MEMORY_LIMIT).

    Thread Starter lisajwells

    (@lisajwells)

    Hi Daniel.

    My host has set my PHP memory to their max (256M). I tried setting in my config file:
    define('WP_MEMORY_LIMIT', '512M');
    define('WP_MAX_MEMORY_LIMIT', '512M');
    which I am assuming will never be met since the host has allocated 256M. Still the errors.

    My site is not super big, but does have a page with a number of YouTube embeds which necessitated the max memory for PHP. I’ve seen a lot of sites with a lot more than 9 active plugins, so it surprises me that they seem that memory hungry.

    I see, though, that this is not an issue with BackWPup, but rather an issue with my site that BackWPup is discovering. I am at a loss now and and everything seems to be working, so I may live with the error—not my usual modus operandus.

    Thanks for your attention

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘XML ERROR when plugins active’ is closed to new replies.