Support » Plugin: WordPress Ping Optimizer » 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

    (@masdiblogs)

    Thank you to post bug and suggestion. I will fix in next release soon.

    Plugin Author Pankaj Jha

    (@masdiblogs)

    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.

    Thank you! Yes, it worked 🙂 Looking forward to the settings update as well!

    Glad this got fixed, did you ever addthe MAX setting into the control panel within the plugin yet?

    Plugin Author Pankaj Jha

    (@masdiblogs)

    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.