• Hello,

    I’m trying to understand why the built in export tool in wordpress 4.3.1 is broken.

    Whenever i select export all posts, the webserver complains were out of ram in the server logs, i’ve increased it to 2GB without avail, still complains.

    Mon Jun 26 19:39:33.643910 2017] [:error] [pid 22182] [client 1.1.1.1:9199] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 56670954 bytes) in /var/www/website/wp-includes/functions.php on line 3297, referer: https://example.net/wp-admin/export.php

    As you can see it claims there’s only 256MB, but php.ini is set to 2gb, and i also set wp-config wordpress to 2gb just for testing: define( ‘WP_MEMORY_LIMIT’, ‘2048M’);

    So since this blog is so huge and no memory i throw at it seems to help my secondary attempt was to export posts from a category based on date but that doesn’t work either.

    Whenever i select a date range, lets say january 2017 to march 2017, the xml file does export, but it’s empty containing only the header data, no actual posts at all.

    What is wrong with the exporter in 4.3.1 ? I can’t update the site right now.

Viewing 1 replies (of 1 total)
  • Why are you using WordPress 4.3.1? The correct secure version in 4.8. Also, just because you edit the memory limit in those places, does not mean the host supports it. That is a question for the host. Does you host not a have a good database backup tool you can use?

Viewing 1 replies (of 1 total)
  • The topic ‘Exporting posts within a selected date range, always empty XML file?’ is closed to new replies.