Title: [Plugin: BackUpWordPress] PHP warning when running wp-cron.
Last modified: August 20, 2016

---

# [Plugin: BackUpWordPress] PHP warning when running wp-cron.

 *  Resolved [grettir](https://wordpress.org/support/users/grettir/)
 * (@grettir)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-backupwordpress-php-warning-when-running-wp-cron/)
 * Just FYI, I’m getting a sporadic warning/error when wp-cron is run:
 * `PHP Warning: fwrite() expects at least 2 parameters, 1 given in /Users/xxxxxxxx/
   Sites/xxxxxxxx/wp-content/plugins/backupwordpress/functions/backup.functions.
   php on line 64`
 * The warning pops up every few days or so and, oddly enough, it only happens at
   times when backupwordpress isn’t scheduled to run (at, say 05:00) rather than
   at 23:00. Other than the warning, everything appears to be functioning smoothly.
 * Running WordPress 3.2 under Mac OS X and PHP 5.3.4.
 * Again, just FYI…
 * [http://wordpress.org/extend/plugins/backupwordpress/](http://wordpress.org/extend/plugins/backupwordpress/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tom Willmot](https://wordpress.org/support/users/willmot/)
 * (@willmot)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-backupwordpress-php-warning-when-running-wp-cron/#post-2177643)
 * Thanks for reporting this, it’s a harmless mistake on my part, it will be fixed
   in the next version.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: BackUpWordPress] PHP warning when running wp-cron.’ is closed
to new replies.

 * ![](https://ps.w.org/backupwordpress/assets/icon-256x256.jpg?rev=1105225)
 * [BackUpWordPress](https://wordpress.org/plugins/backupwordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/backupwordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/backupwordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/backupwordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/backupwordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/backupwordpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tom Willmot](https://wordpress.org/support/users/willmot/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-backupwordpress-php-warning-when-running-wp-cron/#post-2177643)
 * Status: resolved