WordPress.org

Ready to get started?Download WordPress

Forums

WP Clone by WP Academy
Invalid argument error in functions.php (11 posts)

  1. 19ninety
    Member
    Posted 1 year ago #

    I've used WP Clone to back up a couple of sites, however, today I tried to backup one and I keep getting the error below. I've tried uninstalling the plugin, checked the install directory was empty and reinstalled ... however, the error still persists.
    Any ideas how to rectify it?

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: Invalid argument supplied for foreach() in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 437

    Warning: filesize() [function.filesize]: stat failed for /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/uploads/wp-clone/wpclone_backup_27th_May_2013_01-59PM_Act_TGCxi6mDdr.zip in /var/sites/a/activetouch-massage.co.uk/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 171
    Backup Successful!

    Here is your backup file :
    http/activetouch-massage.co.uk/wp-content/uploads/wp-clone/wpclone_backup_27th_May_2013_01-59PM_Act_TGCxi6mDdr.zip ( B ) | Copy URL

    (Copy that link and paste it into the "Restore URL" of your new WordPress installation to clone this site)

    http://wordpress.org/extend/plugins/wp-clone-by-wp-academy/

  2. WP Academy
    Member
    Plugin Author

    Posted 1 year ago #

    that's weird,could you mail me your php error log?

  3. lucheto
    Member
    Posted 1 year ago #

    I am getting the same error. Did you find a solution?

    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/hacerenc/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    Backup Successful!
    
    Here is your backup file :
  4. WP Academy
    Member
    Plugin Author

    Posted 1 year ago #

    which version were you running when you got this error?

  5. webdevelopment
    Member
    Posted 10 months ago #

    I get the same error. I host at http://hostbandit.com.

    I have my account set to SAFE MODE OFF. Do I also need to have open base dir restriction off as well?

    I installed WordPress using Installatron. I have many WordPress installs but your plugin isn't working for me.

    When I click on the link it says file not found. I think that this is due to a permissions/ownership issue such as your plugin's upload directory being created by PHP/Apache and owned by Apache instead of by the Unix username.

    Any instructions on how to fix this?

    ####

    Warning: Invalid argument supplied for foreach() in /usr/home/username/domains/domainname.com/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 436
    
    Warning: Invalid argument supplied for foreach() in /usr/home/username/domains/domainname.com/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 436
    Backup Successful!
    
    Here is your backup file :
    /home/username/domains/domainname.com/public_html/wp-content/uploads/wp-clone/wpclone_backup_27th_Aug_2013_07-12PM_Web_bIcpSiMgjP.zip ( 36.61 MB )   |   Copy URL


    [Excessive code removed - use a pastebin to post that much code]

  6. ron88
    Member
    Posted 8 months ago #

    Hello dear plugin author,

    I get the same error after backing up:

    Warning: Invalid argument supplied for foreach() in /home/pprt177100/domains/ov-chipkaart-kopen.nl/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/pprt177100/domains/ov-chipkaart-kopen.nl/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447
    
    Warning: Invalid argument supplied for foreach() in /home/pprt177100/domains/ov-chipkaart-kopen.nl/public_html/wp-content/plugins/wp-clone-by-wp-academy/lib/functions.php on line 447

    Backup Successful!

    However it seems the backup is made sucessfully. The zip file is present in the Uploads folder. My question: will the restore function work even though I got these errors?

    Best regards,

    Ron

  7. esmi
    Forum Moderator
    Posted 8 months ago #

    @ron88: If you require assistance then, as per the Forum Welcome, please post your own topic.

  8. ron88
    Member
    Posted 8 months ago #

    @esmi: Thanks for your reply. My question concerns this topic, which still hasn't got a solution. That's why I ask it here.

  9. esmi
    Forum Moderator
    Posted 8 months ago #

    Please post your own topic.

  10. ron88
    Member
    Posted 8 months ago #

    Done: Link

  11. bravo-bravo
    Member
    Posted 7 months ago #

    I was getting a similar error but with 446 instead of 447 as the line number. The fix for me was to change my server php version from 5.2 to 5.4. Works fine now both in terms of creating a backup and restoring from one.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.