ERROR: Could not generate a WordPress export file.
-
I have this plugin installed on a few sites. It has worked great for a very long time, all of a sudden in the last few days every single site has given this error:
WARNING: strpos(): Offset not contained in string [02-Feb-2014 23:00:42]
ERROR: Could not generate a WordPress export file.Any idea on how to fix? I have deactivated all the other plugins and the error still occurs.
-
I will look that we can make the update release asap.
Here’s something that may help others still getting this error…
On one of my site, I was getting this same error running 3.1.2 and PHP 5.4. After switching to PHP 5.3.27 via cPanel, the backup ran smoothly without the error.
Is there a known issue with PHP 5.4?
Thanks!
No, now know issue.
This error persists with 3.1.2.
Error began when my hosting company upgraded to PHP 5.4.28.
I’d say you have an incompatibility issue.
Hi Daniel,
everything seems fine with BackWPup free 3.1.3 beta 6, except dates and times are not working anymore ??
here is Preview: backwpup_7140e9_2014-05-30_14-34-12.tar.gz
here is file: backwpup_7140e9_Y-m-d_H-i-s.tar.gzcan you see why is this happening?
I like your plugin, it′s 10 times better than updraftplus, and not annoying.
Unfortunately 1und1.de has upgraded to PHP 5.4 and it made my site with this ERROR: Could not generate a WordPress export file.
does anybody else had problems with date and time?
Annoying? Ouch!
it is not personal David, but take a look at few selling points
backWPup FREE vs Updraftplus FREE
1. change folder local backups are stored – I didn’t found this option in Updraftplus free
2. Secure FTP access – not possible with Updraftplus free
3. schedule backup jobs to run at certain times – backWPup free can do it, but Updraftplus free can’t
I have installed your plugin a few times, but still I remain to stick with backWPup even it has issues with PHP 5.4
Thank you for understanding,
PBHi peraburek,
Thanks for the feedback. The chips always fall somewhere, and all freemium products will make different decisions. UD free edition doesn’t offer FTPES (UpdraftPlus Premium does); Backwpup free edition doesn’t offer Google Drive (BackWPUp Pro does). Which is more annoying will depend upon your needs. The option you mention in number 1. is found in UpdraftPlus in the ‘expert settings’.
Best wishes,
DavidI’ve been getting this “could not generate WordPress export file” for as long as I can remember.
WordPress 3.9.1
PHP 5.4.28Here’s what it looks like:
[06-Jun-2014 03:00:09] Database backup done!
[06-Jun-2014 03:00:09] 1. Trying to create a WordPress export to XML file …
[06-Jun-2014 03:00:15] ERROR: Could not generate a WordPress export file.
[06-Jun-2014 03:00:15] 2. Trying to create a WordPress export to XML file …
[06-Jun-2014 03:00:15] 3. Trying to create a WordPress export to XML file …
[06-Jun-2014 03:00:23] Check WP Export file …
[06-Jun-2014 03:00:23] WARNING: XML ERROR (1): internal error: Huge input lookup
[06-Jun-2014 03:00:23] WARNING: XML ERROR (5): Extra content at the end of the documentI had the same Issue.
Switching from PHP 5.4 to 5.3 (5.3.26) fixed the problem!eh I’m not rolling back PHP to a previous version. Hope Daniel can fix.
I can confirm the error started occurring when I upgraded from PHP 5.3 to PHP 5.4 (as required by my hosted).
Can also confirm this issue. Also i can confirm that the suggested workaround by switching PHP from 5.5 to 5.3 has helped me.
Hi,
I seem to be getting the same error, however it doesn’t happen every time. The difference is this error is only showing up on my job I have scheduled to run early in the morning. When I go in later and click “Run the Job Now” and run it manually, it works just fine.
Here is my log, for the scheduled one with errors:
INFO] BackWPup version 3.1.2; A project of Inpsyde GmbH
[INFO] WordPress version 3.9.1
[INFO] Blog url: https://untoldstoriesabout.us/
[INFO] BackWPup job: Untold Stories Backup; DBDUMP+FILE+WPEXP+WPPLUGIN
[INFO] BackWPup cron: 0 5 * * *; Next: Sat, 5 Jul 2014 @ 05:00
[INFO] BackWPup job started from wp-cron
[INFO] PHP ver.: 5.4.29; cgi-fcgi; Linux
[INFO] Maximum PHP script execution time is 30 seconds
[INFO] MySQL ver.: 5.5.37-35.1
[INFO] curl ver.: 7.19.7; NSS/3.15.3
[INFO] Temp folder is: /home2/kandk2/public_html/untoldstoriesabout.us/wp-content/uploads/backwpup-746498-temp/
[INFO] Logfile is: /home2/kandk2/public_html/untoldstoriesabout.us/wp-content/uploads/backwpup-746498-logs/backwpup_log_746498_2014-07-04_05-09-02.html
[INFO] Backup type is: archive
[INFO] Backup file is: /home2/kandk2/public_html/untoldstoriesabout.us/wp-content/uploads/backwpup-746498-temp/backwpup_746498_2014-07-04_05-09-02.tar.gz
[04-Jul-2014 05:09:02] 1. Try to backup database …
[04-Jul-2014 05:09:02] Connected to database kandk2_wrdp2 on localhost
[04-Jul-2014 05:09:02] Backup database table “wp_commentmeta” with “45” records
[04-Jul-2014 05:09:02] Backup database table “wp_comments” with “25” records
[04-Jul-2014 05:09:02] Backup database table “wp_links” with “0” records
[04-Jul-2014 05:09:02] Backup database table “wp_options” with “134” records
[04-Jul-2014 05:09:02] Backup database table “wp_postmeta” with “371” records
[04-Jul-2014 05:09:02] Backup database table “wp_posts” with “294” records
[04-Jul-2014 05:09:02] Backup database table “wp_term_relationships” with “201” records
[04-Jul-2014 05:09:02] Backup database table “wp_term_taxonomy” with “49” records
[04-Jul-2014 05:09:02] Backup database table “wp_terms” with “37” records
[04-Jul-2014 05:09:02] Backup database table “wp_usermeta” with “25” records
[04-Jul-2014 05:09:02] Backup database table “wp_users” with “1” records
[04-Jul-2014 05:09:02] Added database dump “kandk2_wrdp2.sql.gz” with 402.16 kB to backup file list
[04-Jul-2014 05:09:02] Database backup done!
[04-Jul-2014 05:09:02] 1. Trying to make a list of folders to back up …
[04-Jul-2014 05:09:03] Added “wp-config.php” to backup file list
[04-Jul-2014 05:09:03] Added “.htaccess” to backup file list
[04-Jul-2014 05:09:03] 34 folders to backup.
[04-Jul-2014 05:09:03] 1. Trying to create a WordPress export to XML file …
[04-Jul-2014 05:09:04] ERROR: Could not generate a WordPress export file.
[04-Jul-2014 05:09:04] 2. Trying to create a WordPress export to XML file …
[04-Jul-2014 05:09:05] 3. Trying to create a WordPress export to XML file …
[04-Jul-2014 05:09:05] Check WP Export file …
[04-Jul-2014 05:09:06] WP Export file is a valid WXR file.
[04-Jul-2014 05:09:06] Added XML export “Untold-Stories.wordpress.2014-07-04.xml” with 579.35 kB to backup file list.
[04-Jul-2014 05:09:06] 1. Trying to generate a file with installed plugin names …
[04-Jul-2014 05:09:06] Added plugin list file “Untold-Stories.pluginlist.2014-07-04.txt” with 1.63 kB to backup file list.
[04-Jul-2014 05:09:06] 1. Trying to generate a manifest file …
[04-Jul-2014 05:09:06] Added manifest.json file with 5.62 kB to backup file list.
[04-Jul-2014 05:09:06] 1. Trying to create backup archive …
[04-Jul-2014 05:09:06] Compressing files as TarGz. Please be patient, this may take a moment.
[04-Jul-2014 05:09:19] Backup archive created.
[04-Jul-2014 05:09:19] Archive size is 77.30 MB.
[04-Jul-2014 05:09:19] 287 Files with 78.75 MB in Archive.
[04-Jul-2014 05:09:19] 1. Try to send backup file to Dropbox …
[04-Jul-2014 05:09:20] Authenticated with Dropbox of user Rick Culver ([email protected])
[04-Jul-2014 05:09:20] Uploading to Dropbox …
[04-Jul-2014 05:10:08] Backup transferred to https://api-content.dropbox.com/1/files/dropbox/Untold-Stories/backwpup_746498_2014-07-04_05-09-02.tar.gz
[04-Jul-2014 05:10:08] ERROR: Job has ended with errors in 66 seconds. You must resolve the errors for correct execution.And here is the log for when I ran it manually and it worked just fine:
[INFO] BackWPup version 3.1.2; A project of Inpsyde GmbH
[INFO] WordPress version 3.9.1
[INFO] Blog url: https://untoldstoriesabout.us/
[INFO] BackWPup job: Untold Stories Backup; DBDUMP+FILE+WPEXP+WPPLUGIN
[INFO] BackWPup cron: 0 5 * * *; Next: Sat, 5 Jul 2014 @ 05:00
[INFO] BackWPup job started manually
[INFO] PHP ver.: 5.4.29; cgi-fcgi; Linux
[INFO] Maximum PHP script execution time is 30 seconds
[INFO] MySQL ver.: 5.5.37-35.1
[INFO] curl ver.: 7.19.7; NSS/3.15.3
[INFO] Temp folder is: /home2/kandk2/public_html/untoldstoriesabout.us/wp-content/uploads/backwpup-746498-temp/
[INFO] Logfile is: /home2/kandk2/public_html/untoldstoriesabout.us/wp-content/uploads/backwpup-746498-logs/backwpup_log_746498_2014-07-04_11-20-34.html
[INFO] Backup type is: archive
[INFO] Backup file is: /home2/kandk2/public_html/untoldstoriesabout.us/wp-content/uploads/backwpup-746498-temp/backwpup_746498_2014-07-04_11-20-34.tar.gz
[04-Jul-2014 11:20:34] 1. Try to backup database …
[04-Jul-2014 11:20:34] Connected to database kandk2_wrdp2 on localhost
[04-Jul-2014 11:20:34] Backup database table “wp_commentmeta” with “45” records
[04-Jul-2014 11:20:34] Backup database table “wp_comments” with “25” records
[04-Jul-2014 11:20:34] Backup database table “wp_links” with “0” records
[04-Jul-2014 11:20:34] Backup database table “wp_options” with “160” records
[04-Jul-2014 11:20:34] Backup database table “wp_postmeta” with “318” records
[04-Jul-2014 11:20:34] Backup database table “wp_posts” with “232” records
[04-Jul-2014 11:20:34] Backup database table “wp_term_relationships” with “201” records
[04-Jul-2014 11:20:34] Backup database table “wp_term_taxonomy” with “49” records
[04-Jul-2014 11:20:34] Backup database table “wp_terms” with “37” records
[04-Jul-2014 11:20:34] Backup database table “wp_usermeta” with “25” records
[04-Jul-2014 11:20:34] Backup database table “wp_users” with “1” records
[04-Jul-2014 11:20:34] Added database dump “kandk2_wrdp2.sql.gz” with 402.23 kB to backup file list
[04-Jul-2014 11:20:34] Database backup done!
[04-Jul-2014 11:20:34] 1. Trying to make a list of folders to back up …
[04-Jul-2014 11:20:34] Added “wp-config.php” to backup file list
[04-Jul-2014 11:20:34] Added “.htaccess” to backup file list
[04-Jul-2014 11:20:34] 34 folders to backup.
[04-Jul-2014 11:20:34] 1. Trying to create a WordPress export to XML file …
[04-Jul-2014 11:20:35] Check WP Export file …
[04-Jul-2014 11:20:35] WP Export file is a valid WXR file.
[04-Jul-2014 11:20:35] Added XML export “Untold-Stories.wordpress.2014-07-04.xml” with 579.35 kB to backup file list.
[04-Jul-2014 11:20:35] 1. Trying to generate a file with installed plugin names …
[04-Jul-2014 11:20:36] Added plugin list file “Untold-Stories.pluginlist.2014-07-04.txt” with 1.63 kB to backup file list.
[04-Jul-2014 11:20:36] 1. Trying to generate a manifest file …
[04-Jul-2014 11:20:36] Added manifest.json file with 5.62 kB to backup file list.
[04-Jul-2014 11:20:36] 1. Trying to create backup archive …
[04-Jul-2014 11:20:36] Compressing files as TarGz. Please be patient, this may take a moment.
[04-Jul-2014 11:21:00] Backup archive created.
[04-Jul-2014 11:21:01] Archive size is 77.30 MB.
[04-Jul-2014 11:21:01] 288 Files with 78.76 MB in Archive.
[04-Jul-2014 11:21:01] 1. Try to send backup file to Dropbox …
[04-Jul-2014 11:21:01] Authenticated with Dropbox of user Rick Culver ([email protected])
[04-Jul-2014 11:21:01] Uploading to Dropbox …
[04-Jul-2014 11:21:46] Backup transferred to https://api-content.dropbox.com/1/files/dropbox/Untold-Stories/backwpup_746498_2014-07-04_11-20-34.tar.gz
[04-Jul-2014 11:21:46] Job done in 72 seconds.Any advice on this would be appreciated. Since it is working sometimes, I didn’t know if the same php error applied, from what I have read in the thread?
Kallie
Happens pretty randomly on various sites I manage (everythings up to date) as well. From the error, it looks like the error should be reported after the third attempt fails not the first. As long as the export to XML eventually works, I don’t care about the error.
- The topic ‘ERROR: Could not generate a WordPress export file.’ is closed to new replies.