Title: PHP warnings in debug.log
Last modified: February 13, 2019

---

# PHP warnings in debug.log

 *  Resolved [jvo63](https://wordpress.org/support/users/jvo63/)
 * (@jvo63)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-log-2/)
 * Hi!
 * Came across a bunch of warning messages in the debug.log (see below). Happens
   from time to time, but everything seems to be fine. Any ideas?
 * Cheers,
    Juergen
 *     ```
       -- 
       [13-Feb-2019 09:24:04 UTC] PHP Warning:  sizeof(): Parameter must be an array or an object that implements Countable in /usr/www/wp-content/plugins/woo-paypalplus/lib/PayPal/Common/PayPalModel.php on line 179
       [13-Feb-2019 09:24:04 UTC] PHP Warning:  sizeof(): Parameter must be an array or an object that implements Countable in /usr/www/wp-content/plugins/woo-paypalplus/lib/PayPal/Common/PayPalModel.php on line 179
   
       SNIP
       ```
   
    -  This topic was modified 7 years, 3 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This topic was modified 7 years, 3 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

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

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-log-2/#post-11201272)
 * Past 10 lines or so, posting log data in these forums doesn’t work. I’ve trimmed
   your log.
 * If you do need to share that then please use a service such as [https://pastebin.com/](https://pastebin.com/)
   and share the link to that paste instead.
 *  Plugin Support [Andreas W.](https://wordpress.org/support/users/aweissinpsyde/)
 * (@aweissinpsyde)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-log-2/#post-11205069)
 * Hello [@jvo63](https://wordpress.org/support/users/jvo63/)
 * can you please try to use PHP 7.1 or 7.0.It seems you are using PHP Version 7.2.
   We will update the plugin asap.
 *  Thread Starter [jvo63](https://wordpress.org/support/users/jvo63/)
 * (@jvo63)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-log-2/#post-11205558)
 * Hi Andreas!
 * Well… actually I’m using 7.3. But yes, I’ll switch back to 7.1 – praying for 
   no side effects.
 * Thanks for your help!
    Jürgen
 *  Plugin Support [Andreas W.](https://wordpress.org/support/users/aweissinpsyde/)
 * (@aweissinpsyde)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-log-2/#post-11220133)
 * We will update the plugin asap.

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

The topic ‘PHP warnings in debug.log’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-paypalplus_a2c4dd.svg)
 * [PayPal Plus for WooCommerce](https://wordpress.org/plugins/woo-paypalplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-paypalplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-paypalplus/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-paypalplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-paypalplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-paypalplus/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Andreas W.](https://wordpress.org/support/users/aweissinpsyde/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/php-warnings-in-debug-log-2/#post-11220133)
 * Status: resolved