Title: PHP Warning &amp; Settings Request
Last modified: May 24, 2019

---

# PHP Warning & Settings Request

 *  [Julie](https://wordpress.org/support/users/habannah/)
 * (@habannah)
 * [7 years ago](https://wordpress.org/support/topic/php-warning-settings-request/)
 * Getting the following error message in my logs since upgrading to PHP 7.2 (was
   previously using PHP 7.0 without any problems):
 * `PHP Warning: count(): Parameter must be an array or an object that implements
   Countable in /wp-content/plugins/wordpress-ping-optimizer/cbnet-ping-optimizer.
   php on line 533`
 * Also, would it be possible to add a setting for the number of log items to keep
   and display? Every time the plugin updates, I have to change these lines in the
   plugin files:
 *     ```
       	var $cbnetpo_max_log = 1000;   		// Maximum lines of log data to be stored
       	var $cbnetpo_rows_to_show = 35;        // Number of log rows to be displayed in options page
       ```
   
 * I change both to 2000…
 * Thanks in advance for looking into these issues for me!

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

 *  Plugin Author [Pankaj Jha](https://wordpress.org/support/users/masdiblogs/)
 * (@masdiblogs)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/php-warning-settings-request/#post-11594819)
 * Thank you to post bug and suggestion. I will fix in next release soon.
 *  Plugin Author [Pankaj Jha](https://wordpress.org/support/users/masdiblogs/)
 * (@masdiblogs)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/php-warning-settings-request/#post-11757989)
 * I try to fix the PHP warning message, can you please check if it’s working fine.
   In case still error you can also suggest the solution.
 * I am also working on to add the MAX Log input box in few days.
 *  Thread Starter [Julie](https://wordpress.org/support/users/habannah/)
 * (@habannah)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/php-warning-settings-request/#post-11758464)
 * Thank you! Yes, it worked 🙂 Looking forward to the settings update as well!
 *  [itsgotime](https://wordpress.org/support/users/itsgotime/)
 * (@itsgotime)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/php-warning-settings-request/#post-12039635)
 * Glad this got fixed, did you ever addthe MAX setting into the control panel within
   the plugin yet?
 *  Plugin Author [Pankaj Jha](https://wordpress.org/support/users/masdiblogs/)
 * (@masdiblogs)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/php-warning-settings-request/#post-12396017)
 * I return from long leave. I will close your request soon.

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

The topic ‘PHP Warning & Settings Request’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-ping-optimizer_ebeef0.svg)
 * [WordPress Ping Optimizer](https://wordpress.org/plugins/wordpress-ping-optimizer/)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-ping-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-ping-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-ping-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-ping-optimizer/reviews/)

 * 5 replies
 * 1 participant
 * Last reply from: [Pankaj Jha](https://wordpress.org/support/users/masdiblogs/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/php-warning-settings-request/#post-12396017)
 * Status: not resolved