Title: PHP 7.2 Warnings
Last modified: September 18, 2017

---

# PHP 7.2 Warnings

 *  Resolved [Akira Leir](https://wordpress.org/support/users/akiraleir/)
 * (@akiraleir)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-7-2-warnings/)
 * Apparently nothing has stopped working, but these warnings keep popping up in
   the logs. Should I not worry about it or is this 7.2’s “feature” breaking something
   within the plugin that I haven’t experienced yet?
 * `PHP message: PHP Warning: count(): Parameter must be an array or an object that
   implements Countable in /home/www/wordpress/wp-content/plugins/updraftplus/class-
   updraftplus.php on line 1671`

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

 *  [Tunn](https://wordpress.org/support/users/iuriem/)
 * (@iuriem)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-7-2-warnings/#post-9505562)
 * Here another warning:
 *     ```
       [16-Sep-2017 07:11:36 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1448
       [16-Sep-2017 07:11:51 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1370
       [16-Sep-2017 07:11:51 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1375
       [16-Sep-2017 07:11:51 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1375
       [16-Sep-2017 07:11:51 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1375
       [17-Sep-2017 07:51:38 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1448
       [17-Sep-2017 07:52:01 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1370
       [17-Sep-2017 07:52:01 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1375
       [17-Sep-2017 07:52:01 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1375
       [17-Sep-2017 07:52:01 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1375
       [18-Sep-2017 07:40:47 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1448
       [18-Sep-2017 07:41:03 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1370
       [18-Sep-2017 07:41:03 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1375
       [18-Sep-2017 07:41:03 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1375
       [18-Sep-2017 07:41:03 UTC] PHP Warning:  escapeshellarg() has been disabled for security reasons in /.../public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 1375
       ```
   
 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-7-2-warnings/#post-9510351)
 * [@iuriem](https://wordpress.org/support/users/iuriem/) That’s just PHP telling
   you that your hosting company has disabled some parts of the PHP language. UD
   can cope with that, so you can just ignore it.
 * [@akiraleir](https://wordpress.org/support/users/akiraleir/) Thanks. I’ve adjusted
   the relevant code section so that the next release will not throw the message
   on PHP 7.2+.
 *  [doom_laur](https://wordpress.org/support/users/doomlaur/)
 * (@doomlaur)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-7-2-warnings/#post-9762615)
 * Unfortunately, the problem from [@akiraleir](https://wordpress.org/support/users/akiraleir/)
   still happens, but in another file this time. Since I switched to PHP 7.2 a few
   days ago, I’m getting this warning each time when Updraftplus makes a backup:
 * `[08-Dec-2017 07:10:02 UTC] PHP Warning: count(): Parameter must be an array 
   or an object that implements Countable in /var/www/vhosts/ibexy.cool/httpdocs/
   wp-content/plugins/updraftplus/backup.php on line 1432`
 * I just updated to 1.13.16, and I can confirm that the problem still happens.
 * Thank you for making such a great plugin! 🙂
 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/php-7-2-warnings/#post-9777827)
 * [@doomlaur](https://wordpress.org/support/users/doomlaur/) Thanks for the report.
   That’s already fixed in our development version. It’s only cosmetic – i.e. doesn’t
   affect activity.

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

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

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/php-7-2-warnings/#post-9777827)
 * Status: resolved