Title: PHP Warnings
Last modified: August 21, 2016

---

# PHP Warnings

 *  Resolved [Parakoos](https://wordpress.org/support/users/parakoos/)
 * (@parakoos)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/php-warnings-4/)
 * Hello,
 * I really love the plugin, and it works well. However, the plugin is causing a
   few PHP Warnings and Errors that are filling up my error_log. There are three
   lines that come again and again. They are:
 *     ```
       [07-Jun-2013 05:17:14 UTC] PHP Warning:  Invalid argument supplied for foreach() in wp-content/plugins/wordpress-backup-to-dropbox/Classes/class-dropbox-facade.php on line 180
   
       [06-Jun-2013 07:59:27 UTC] PHP Warning:  json_encode() [<a href='function.json-encode'>function.json-encode</a>]: Invalid UTF-8 sequence in argument in wp-content/plugins/wordpress-backup-to-dropbox/Classes/class-wp-backup-logger.php on line 28
   
       [16-Jun-2013 01:31:44 UTC] WordPress database error Duplicate entry 'wp-admin/about.ph' for key 'file' for query INSERT INTO <code>wp_cpty6b_wpb2d_processed_files</code> (<code>file</code>) VALUES ('wp-admin/about.php') made by do_action_ref_array, call_user_func_array, run_dropbox_backup, WP_Backup->execute, WP_Backup->backup_path, WP_Backup_Processed_Files->add_files, dbrc_wpdb->query, dbrc_wpdb->dbcr_query
       ```
   
 * Many thanks for fixing these. They should be fairly easy to fix, I think/hope.
 * [http://wordpress.org/extend/plugins/wordpress-backup-to-dropbox/](http://wordpress.org/extend/plugins/wordpress-backup-to-dropbox/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [Michael De Wildt](https://wordpress.org/support/users/michaeldewildt/)
 * (@michaeldewildt)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/php-warnings-4/#post-3857454)
 * Thanks mate,
 * These warnings dont show for me. I will take a look to see what might be causing
   them.
 * Cheers,
    Mikey
 *  Thread Starter [Parakoos](https://wordpress.org/support/users/parakoos/)
 * (@parakoos)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-4/#post-3857689)
 * Hi,
 * I’m still getting an amazing number of errors from this plugin in the error log.
   Here are the ones that are exploding my error log the last couple of months!
 *     ```
       [04-Sep-2013 23:06:50 UTC] PHP Warning:  filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for /home4/parakoos/public_html/themodernnomad.com/wp-content/backups/wpb2d-backup-log.txt.b803ad874749289f38fd86876ca9c696b03143d6-wpb2d-secret in /home4/parakoos/public_html/themodernnomad.com/wp-content/plugins/wordpress-backup-to-dropbox/wp-backup-to-dropbox.php on line 203
   
       [06-Sep-2013 00:04:51 UTC] WordPress database error Duplicate entry '/home4/parakoos/public_html/themodernnomad.com/wp-content/backup' for key 'file' for query INSERT INTO <code>wp_cpty6b_wpb2d_processed_files</code> (<code>file</code>) VALUES ('/home4/parakoos/public_html/themodernnomad.com/wp-content/backups/parakoos_tmn-backup-plugins.sql.86a1b4d839a40ba38c3e59912de3b371f172eb3b-wpb2d-secret') made by do_action_ref_array, call_user_func_array, run_dropbox_backup, WP_Backup->execute, WP_Backup->backup_path, WP_Backup_Processed_Files->add_files, dbrc_wpdb->query, dbrc_wpdb->dbcr_query
   
       [09-Sep-2013 08:14:56 UTC] PHP Warning:  array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /home4/parakoos/public_html/themodernnomad.com/wp-content/plugins/instagrate-pro/instagrate-pro.php on line 4035
       ```
   
 * There are many many **many** versions of these, but just picked three as an example.
   Any ideas what to do about this?
 *  Plugin Contributor [Michael De Wildt](https://wordpress.org/support/users/michaeldewildt/)
 * (@michaeldewildt)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-4/#post-3857690)
 * Ok, the reason it was not happing for me is because I do not have a UTF-8 char
   in one of my file names that is causing the Invalid UTF-8 sequence in argument
   error.
 * I have found a work around for this that will be in the next version.
 * Wanna try out the beta and see if the issues are fixed?
 * [https://dl.dropboxusercontent.com/u/3557067/wpb2d/wordpress-backup-to-dropbox.zip](https://dl.dropboxusercontent.com/u/3557067/wpb2d/wordpress-backup-to-dropbox.zip)
 * Cheers,
    Mikey
 *  Thread Starter [Parakoos](https://wordpress.org/support/users/parakoos/)
 * (@parakoos)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-4/#post-3857691)
 * I copied all of those files into the plugin folder, overwriting any file that
   was of different size. I then deleted my error log and ran a backup. No new file
   was created, sooo… I guess it didn’t create a single error line. Good sign. I’ll
   keep dipping into this file once a week (standard check I do) and if you don’t
   hear from me again, then whatever you did in this version fixed the problem!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP Warnings’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-backup-to-dropbox_ffffff.
   svg)
 * [WordPress Backup to Dropbox](https://wordpress.org/plugins/wordpress-backup-to-dropbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-backup-to-dropbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-backup-to-dropbox/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-backup-to-dropbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-backup-to-dropbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-backup-to-dropbox/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Parakoos](https://wordpress.org/support/users/parakoos/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/php-warnings-4/#post-3857691)
 * Status: resolved