WordPress Designpraxis Forum » BackUpWordPress Issues

Invalid argument supplied for foreach()

(4 posts)
  • Started 4 years ago by gfindlay
  • Latest reply from rol
  • This topic is not a support question

  1. Running v0.4.1 on WP 2.3.

    Every time I try to run a backup, I get:

    Warning: Invalid argument supplied for foreach() in /home/gfindlay/public_html/wp-content/plugins/backupwordpress/bkpwp-classes/manage_backups.php on line 985

    In the backup directory, it creates a whole lot of files, including a log called ".txt", then comes up with that message before it completes.

    Help. This would be very handy for me if I could get it working.

    Posted 4 years ago #
  2. gfindlay, could you please post some more information about the problem? See http://wpforum.designpraxis.at/topic/how-to-report-a-bug on how to report them.

    Posted 4 years ago #
  3. OK, here goes:

    PHP information for http://bytor.co.uk

    max_execution_time: 30
    max_input_time: 60
    file_uploads: 1
    upload_max_filesize: 10M
    post_max_size: 8M
    register_globals:
    safe_mode:
    allow_url_fopen: 1
    eaccelerator.enable:

    Other information:

    PHP Server API: cgi
    WordPress Version: 2.3.1
    WordPress Blog URI: http://bytor.co.uk
    WordPress Installation URI: http://bytor.co.uk
    WordPress Theme: /wp-content/themes/3c-black-letterhead-11c
    WordPress Permalink Structure: /%year%/%monthnum%/%day%/%postname%
    WordPress wp-content directory is writable
    WordPress uses Gzip Compression
    WP-Cache is running on this installation of WordPress
    GD library is installed
    PHP Version: 5.2.2
    MySQL Version: 4.1.22-standard
    Browser used: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8

    Logfiles:

    2 are created. One called ".txt" and the other called "2007-10-28-09-29-27-full..txt"

    "2007-10-28-09-29-27-full..txt" contains (72 lines):

    Schedule: manually
    WordPress Version: 2.3.1
    BackUpWordPress Version: 0.4.2
    ## 28/10/2007 09:29:27: BackUpWordPress starting at 28/10/2007 09:29:27
    ## 28/10/2007 09:29:27: BackUpWordPress using Preset
    ## 28/10/2007 09:29:27: BackUpWordPress temporary Directory '/home/gfindlay/public_html/wp-content/backup/2007-10-28-09-29-27' created
    ## 28/10/2007 09:29:27: BackUpWordPress temporary Directory '/home/gfindlay/public_html/wp-content/backup/2007-10-28-09-29-27/wordpress_files' created
    ## 28/10/2007 09:29:27: MySQL server connected successfully 28/10/2007 09:29:27
    ## 28/10/2007 09:29:28: sql-dump for dpp_disclosure_tags created 28/10/2007 09:29:28
    ## 28/10/2007 09:29:28: sql-dump for dpp_keyword_settings created 28/10/2007 09:29:28
    [...cut for brevity...]
    ## 28/10/2007 09:30:02: sql-dump for xanga_wp_post_map created 28/10/2007 09:30:02
    ## 28/10/2007 09:30:02: SQL Dump created.
    ## 28/10/2007 09:33:29: BackUpWordPress starting at 28/10/2007 09:33:29
    ## 28/10/2007 09:33:29: BackUpWordPress using Preset
    ## 28/10/2007 09:33:29: BackUpWordPress temporary Directory '/home/gfindlay/public_html/wp-content/backup/2007-10-28-09-29-27' exists. Proceeding with unfinished backup.
    ## 28/10/2007 09:33:29: MySQL server connected successfully 28/10/2007 09:33:29
    ## 28/10/2007 09:33:29: SQL Dump created.
    ## 28/10/2007 09:34:14: BackUpWordPress starting at 28/10/2007 09:34:14
    ## 28/10/2007 09:34:14: BackUpWordPress using Preset
    ## 28/10/2007 09:34:14: BackUpWordPress temporary Directory '/home/gfindlay/public_html/wp-content/backup/2007-10-28-09-29-27' exists. Proceeding with unfinished backup.
    ## 28/10/2007 09:34:14: MySQL server connected successfully 28/10/2007 09:34:14
    ## 28/10/2007 09:34:14: SQL Dump created.
    ## 28/10/2007 09:34:14: BackUpWordPress starting at 28/10/2007 09:34:14
    [...cut for brevity...]
    ## 28/10/2007 09:38:53: MySQL server connected successfully 28/10/2007 09:38:53
    ## 28/10/2007 09:38:53: SQL Dump created.
    ## 28/10/2007 09:39:23: BackUpWordPress starting at 28/10/2007 09:39:23
    ## 28/10/2007 09:39:23: BackUpWordPress using Preset
    ## 28/10/2007 09:39:23: BackUpWordPress temporary Directory '/home/gfindlay/public_html/wp-content/backup/2007-10-28-09-29-27' exists. Proceeding with unfinished backup.
    ## 28/10/2007 09:39:23: MySQL server connected successfully 28/10/2007 09:39:23
    ## 28/10/2007 09:39:23: SQL Dump created.

    -- and ".txt" contains (3340 lines):

    WordPress Version: 2.3.1
    BackUpWordPress Version: 0.4.2
    ## 28/10/2007 09:29:28: successfully written to SQLfile: /home/gfindlay/public_html/wp-content/backup/2007-10-28-09-29-27/wordpress.sql
    ## 28/10/2007 09:29:28: successfully written to SQLfile: /home/gfindlay/public_html/wp-content/backup/2007-10-28-09-29-27/wordpress.sql
    [...cut for brevity...]
    ## 28/10/2007 09:30:02: successfully written to SQLfile: /home/gfindlay/public_html/wp-content/backup/2007-10-28-09-29-27/wordpress.sql
    ## 28/10/2007 09:30:02: successfully written to SQLfile: /home/gfindlay/public_html/wp-content/backup/2007-10-28-09-29-27/wordpress.sql

    Posted 4 years ago #
  4. gfindlay, chances are, your webserver is not able to do the compression task. I am doing experiments on virtual hosts with different OSes and System setups at the moment. As soon as I find out something definite about your issue, I'll post here.

    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.