Title: Redefining already defined constructor
Last modified: August 21, 2016

---

# Redefining already defined constructor

 *  Resolved [kjohnson_2](https://wordpress.org/support/users/kjohnson_2/)
 * (@kjohnson_2)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/redefining-already-defined-constructor/)
 * After this plugin is installed, this error occurs each time a page is displayed
   for the site:
 * Strict Standards: Redefining already defined constructor for class ip_address_memory_usage
   in eclypse.org\wp-content\plugins\server-ip-memory-usage\server-ip-memory-usage.
   php on line 40
 * Swapping the order of function __construct() and function ip_address_memory_usage()
   in server-ip_memory-usage.php appears to fix this.
 * [https://wordpress.org/plugins/server-ip-memory-usage/](https://wordpress.org/plugins/server-ip-memory-usage/)

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

 *  Plugin Author [apasionados](https://wordpress.org/support/users/apasionados/)
 * (@apasionados)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/redefining-already-defined-constructor/#post-5043251)
 * Hi there. Thanks for the info. We will check the next days and come back to you.
 *  [Jose Luis Cruz](https://wordpress.org/support/users/joseluiscruz/)
 * (@joseluiscruz)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/redefining-already-defined-constructor/#post-5043533)
 * This error still happens. And furthermore, it can conflict with some plugins.
 * When I’m setting up WPML for the first time I have to disable this plugin because
   if not I can’t end the configuration process.
 *  Plugin Author [apasionados](https://wordpress.org/support/users/apasionados/)
 * (@apasionados)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/redefining-already-defined-constructor/#post-5043534)
 * Hi there,
 * We are using this plugin on several sites with WPML and never saw this error.
 * The error you get is the same as first time?
 * `Strict Standards: Redefining already defined constructor for class ip_address_memory_usage
   in eclypse.org\wp-content\plugins\server-ip-memory-usage\server-ip-memory-usage.
   php on line 40`
 * If you confirm or send the exact error you got, we will have a look into it next
   week.
 * Sorry for the inconvenience.
 *  [Jose Luis Cruz](https://wordpress.org/support/users/joseluiscruz/)
 * (@joseluiscruz)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/redefining-already-defined-constructor/#post-5043535)
 * Hi, thanks. The error is the same. Both in the backend and in the frontend, when
   WP_DEBUG is set to true:
 * `Strict Standards: Redefining already defined constructor for class ip_address_memory_usage
   in /home/---/public_html/wp-content/plugins/server-ip-memory-usage/server-ip-
   memory-usage.php on line 40`
 * The thing is I no longer saw the error in the site I’m working on, but that was
   because I just installed the plugin Query Monitor, which redirects those errors
   to the firebug console:
 *     ```
       "=== PHP Error in AJAX Response ===" query-monitor.js:157:4
       10:05:53.125 Object { type: "strict", message: "Redefining already defined constructor for class ip_address_memory_usage", file: "/home/---/public_html/wp-content/plugins/server-ip-memory-usage/server-ip-memory-usage.php", line: 40, stack: Array[1], component: "Core" }
       ```
   
 * I checked that using Query Monitor plugin the error no longer conflicts with 
   wpml setup. But if I disable it, reset & reactivate WPML and re-run its config
   wizard, the stopping error is still there. [I made a screenshot of that moment](https://i.imgur.com/ANpo5Io.jpg).
   If I try to press the next button that page reloads again because of the error
   in your plugin. To continue I must either disable your plugin, or activate the
   Query Monitor one.
 * thank you very much for your time!
 *  Plugin Author [apasionados](https://wordpress.org/support/users/apasionados/)
 * (@apasionados)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/redefining-already-defined-constructor/#post-5043536)
 * Hi there,
 * We just uploaded another version of the plugin that doesn’t use the __construct.
 * It’s version 1.0.3 that you can find here: [v1.0.3](https://downloads.wordpress.org/plugin/server-ip-memory-usage.1.0.3.zip).
 * This should fix the problem.
 * Please advice if it has solved the problem and works for you. Once you have tested
   and found ok, we will reléase it.
 *  [Jose Luis Cruz](https://wordpress.org/support/users/joseluiscruz/)
 * (@joseluiscruz)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/redefining-already-defined-constructor/#post-5043537)
 * Thank you. Can confirm the new version works well in all the previous cases. 
   Gracias
 *  Plugin Author [apasionados](https://wordpress.org/support/users/apasionados/)
 * (@apasionados)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/redefining-already-defined-constructor/#post-5043538)
 * Thanks for the feedback. Gracias.

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

The topic ‘Redefining already defined constructor’ is closed to new replies.

 * ![](https://ps.w.org/server-ip-memory-usage/assets/icon-128x128.png?rev=982864)
 * [Server IP & Memory Usage Display](https://wordpress.org/plugins/server-ip-memory-usage/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/server-ip-memory-usage/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/server-ip-memory-usage/)
 * [Active Topics](https://wordpress.org/support/plugin/server-ip-memory-usage/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/server-ip-memory-usage/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/server-ip-memory-usage/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [apasionados](https://wordpress.org/support/users/apasionados/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/redefining-already-defined-constructor/#post-5043538)
 * Status: resolved