Title: PHP Errors
Last modified: July 10, 2017

---

# PHP Errors

 *  Resolved [WiKaBot](https://wordpress.org/support/users/wikabot/)
 * (@wikabot)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/php-errors-103/)
 * Hi, I had to debug my WordPress and found the following Error in great numbers.
   Several MB in Hours:
 * [10-Jul-2017 15:03:23 UTC] PHP Deprecated: Methods with the same name as their
   class will not be constructors in a future version of PHP; cbnetPingOptimizer
   has a deprecated constructor in […] /wp-content/plugins/wordpress-ping-optimizer/
   cbnet-ping-optimizer.php on line 36
    [10-Jul-2017 15:03:23 UTC] PHP Notice: get_bloginfo
   was called with an argument that is **deprecated** since version 2.2.0! The `
   siteurl` option is deprecated for the family of `bloginfo()` functions. Use the`
   url` option instead. in […] /wp-includes/functions.php on line 4023
 * For that reason I disabled ping optimizer.
    Do you have any idea to solve that
   problem?
 * I am using php 7.1.7 | WP 4.8 and MH-Magazine Theme if this Infos are helpful.

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

 *  [Ken](https://wordpress.org/support/users/kronomia/)
 * (@kronomia)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/php-errors-103/#post-9390296)
 * I am having the same issue on PHP 7.
 * He should replace “siteurl” with “url”. I hope he can arrange the update soon.
 * All the best!
 *  [manbo](https://wordpress.org/support/users/manbo/)
 * (@manbo)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php-errors-103/#post-9528344)
 * Hi.
    There is no technology that can be fixed to “Pankaj Jha”.
 *  [itsgotime](https://wordpress.org/support/users/itsgotime/)
 * (@itsgotime)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/php-errors-103/#post-9560515)
 * Well I’m in the same boat, and with php 7 upgrades being widespread this year
   end it is likely that this plugin will be relegated to oblivion unless it is 
   fully re-written to php 7 standards.
 * Any idea if or when this might happen? Otherwise..what other plugin options are
   out there?
 *  Plugin Author [Pankaj Jha](https://wordpress.org/support/users/masdiblogs/)
 * (@masdiblogs)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-errors-103/#post-9876150)
 * Thank you all to post the issue. This issue has been fixed now. I changed theold
   code as per the latest PHP standard.
    $this->cbnetpo_siteurl = site_url(); $this-
   >cbnetpo_path = plugin_dir_path( __FILE__ ); $this->cbnetpo_fullpath = plugin_dir_url(
   __FILE__ );

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

The topic ‘PHP Errors’ 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/)

## Tags

 * [PHP errors](https://wordpress.org/support/topic-tag/php-errors/)

 * 4 replies
 * 5 participants
 * Last reply from: [Pankaj Jha](https://wordpress.org/support/users/masdiblogs/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/php-errors-103/#post-9876150)
 * Status: resolved