Title: PHP &quot;already defined constructor&quot; error
Last modified: August 31, 2016

---

# PHP "already defined constructor" error

 *  Resolved [inspiredmind](https://wordpress.org/support/users/inspiredmind/)
 * (@inspiredmind)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-already-defined-constructor-error/)
 * Hi there,
    Thanks for this helpful plugin. Looks like it needs updating to meet
   current PHP standards. It’s generating the following error:
 * `Strict Standards: Redefining already defined constructor for class wp_server_stats
   in /home/jonathan/public_html/wp-content/plugins/wp-server-stats/wp-server-stats.
   php on line 47`
 * And change of this being fixed?
 * Thanks,
    Jonathan
 * [https://wordpress.org/plugins/wp-server-stats/](https://wordpress.org/plugins/wp-server-stats/)

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

 *  Plugin Author [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-already-defined-constructor-error/#post-6969127)
 * You are hitting this message because strict standards is enabled in your php 
   settings.
    It doesn’t shows any errors like this to me. But thanks for the report,
   will dog more to look what I can find….
 *  Plugin Author [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-already-defined-constructor-error/#post-6969180)
 * Hi,
    I want you to test out one thing will you please download the [Development Version](https://wordpress.org/plugins/wp-server-stats/developers/)
   and upload it manually?
 * Let me know if it fixes your issue.
 *  Thread Starter [inspiredmind](https://wordpress.org/support/users/inspiredmind/)
 * (@inspiredmind)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-already-defined-constructor-error/#post-6969237)
 * Hello ,
    Yes, that has fixed it. The error no longer displays. Thank you.
 *  Plugin Author [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-already-defined-constructor-error/#post-6969280)
 * Thanks for the conformation. Will push these changes on the next update soon.
 *  Plugin Author [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-already-defined-constructor-error/#post-6969281)
 * Also if you like the plugin, please do not forget to post a review. It really
   means a lot to the developers.

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

The topic ‘PHP "already defined constructor" error’ is closed to new replies.

 * ![](https://ps.w.org/wp-server-stats/assets/icon-256x256.png?rev=1273709)
 * [WP Server Health Stats](https://wordpress.org/plugins/wp-server-stats/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-server-stats/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-server-stats/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-server-stats/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-server-stats/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-server-stats/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/php-already-defined-constructor-error/#post-6969281)
 * Status: resolved