WordPress.org

Forums

BackWPup Free - WordPress Backup Plugin
[resolved] ERROR: Could not generate a WordPress export file. (39 posts)

  1. klaconcepts
    Member
    Posted 1 year ago #

    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.

    http://wordpress.org/plugins/backwpup/

  2. Daniel Hüsken
    Member
    Plugin Author

    Posted 1 year ago #

    In the beta it is fixed. I will relese it asap.

  3. mapguy2
    Member
    Posted 1 year ago #

    Beginning 1/31/14 and since, backup logs on my site have the same warning and error message. However, after the error it seems that the backup does execute a successful export to XML and generate the export file. (See log section below.) Is this the case and the export is the proper backup without error?

    [04-Feb-2014 03:30:23] 1. Trying to create a WordPress export to XML file …
    [04-Feb-2014 03:30:25] WARNING: strpos(): Offset not contained in string
    [04-Feb-2014 03:30:25] ERROR: Could not generate a WordPress export file.
    [04-Feb-2014 03:30:25] 2. Trying to create a WordPress export to XML file …
    [04-Feb-2014 03:30:26] 3. Trying to create a WordPress export to XML file …
    [04-Feb-2014 03:30:27] Check WP Export file …
    [04-Feb-2014 03:30:27] WP Export file is a valid WXR file.
    .
    .
    .
    [04-Feb-2014 03:31:02] ERROR: Job has ended with errors in 41 seconds. You must resolve the errors for correct execution.

  4. Daniel Hüsken
    Member
    Plugin Author

    Posted 1 year ago #

    see the answer above.

  5. Robey Lawrence
    Member
    Posted 1 year ago #

    Hi Daniel,

    just wondering. is the Beta being released soon?

    Robey

  6. Daniel Hüsken
    Member
    Plugin Author

    Posted 1 year ago #

    The beta is released at 3.1.2

  7. allenrowand
    Member
    Posted 1 year ago #

    Still seeing this issue on one site running 3.1.2; please let me know what material I can provide to help solve this problem.

    Best regards,
    Allen

  8. Daniel Hüsken
    Member
    Plugin Author

    Posted 1 year ago #

    You can test the Version from https://github.com/inpsyde/backwpup in this the xml Export is completely rewritten.

  9. allenrowand
    Member
    Posted 1 year ago #

    3.1.3 beta 1 seems to be working, thanks! I'll install it on my other sites and report back if I see any issues.

  10. Canadianllama
    Member
    Posted 1 year ago #

    Im still getting this, can i confirm that it still is getting backed up even though we get this error?
    I also get this confirmation after i get the error

    [04-Feb-2014 03:30:27] WP Export file is a valid WXR file.

  11. DenverEric
    Member
    Posted 1 year ago #

    I'm getting this error on multiple sites as well.

    [21-Apr-2014 05:30:05] ERROR: Could not generate a WordPress export file.

  12. JohnCleary
    Member
    Posted 1 year ago #

    I just downloaded and installed 3.1.3b5 to solve this issue and the beta fixed it for me. Thanks!

  13. HeronSister
    Member
    Posted 1 year ago #

    When I click on Daniel Hüsken's link, it takes me to BackWPup Pro.

    Can I get the free version somewhere?

  14. Daniel Hüsken
    Member
    Plugin Author

    Posted 1 year ago #

    The link ist the free Version https://github.com/inpsyde/backwpup

  15. namhuy
    Member
    Posted 1 year ago #

    Having this error lately, any idea how to fix it ?
    http://namhuy.net/

    [09-May-2014 00:00:30] 1. Trying to create a WordPress export to XML file …
    [09-May-2014 00:00:32] ERROR: Could not generate a WordPress export file.
    [09-May-2014 00:00:32] 2. Trying to create a WordPress export to XML file …
    [09-May-2014 00:00:32] 3. Trying to create a WordPress export to XML file …
  16. Sharon
    Member
    Posted 1 year ago #

    I am getting this error too - Daniel, can you verify that release version 3.1.2 is doing the backup correctly even with this error message? It seems to be.

  17. Daniel Hüsken
    Member
    Plugin Author

    Posted 1 year ago #

    I will look that we can make the update release asap.

  18. brit77
    Member
    Posted 1 year ago #

    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!

  19. Daniel Hüsken
    Member
    Plugin Author

    Posted 1 year ago #

    No, now know issue.

  20. slackerofthemind
    Member
    Posted 1 year ago #

    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.

  21. peraburek
    Member
    Posted 1 year ago #

    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.gz

    can 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?

  22. David Anderson
    Member
    Posted 1 year ago #

    Annoying? Ouch!

  23. peraburek
    Member
    Posted 1 year ago #

    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,
    PB

  24. David Anderson
    Member
    Posted 1 year ago #

    Hi 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,
    David

  25. tamar
    Member
    Posted 1 year ago #

    I've been getting this "could not generate WordPress export file" for as long as I can remember.

    WordPress 3.9.1
    PHP 5.4.28

    Here'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 document

  26. buddhayogi
    Member
    Posted 1 year ago #

    I had the same Issue.
    Switching from PHP 5.4 to 5.3 (5.3.26) fixed the problem!

  27. tamar
    Member
    Posted 1 year ago #

    eh I'm not rolling back PHP to a previous version. Hope Daniel can fix.

  28. dhunink
    Member
    Posted 1 year ago #

    I can confirm the error started occurring when I upgraded from PHP 5.3 to PHP 5.4 (as required by my hosted).

  29. w3wision
    Member
    Posted 1 year ago #

    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.

  30. UntoldStories
    Member
    Posted 12 months ago #

    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: http://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 (ro.ykcer@gmail.com)
    [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: http://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 (ro.ykcer@gmail.com)
    [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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.