Title: PHP ERROR: Redefining already defined constructor for class wp_memory_usage
Last modified: August 21, 2016

---

# PHP ERROR: Redefining already defined constructor for class wp_memory_usage

 *  Resolved [Marcelo Pedra](https://wordpress.org/support/users/kent-brockman/)
 * (@kent-brockman)
 * [12 years ago](https://wordpress.org/support/topic/php-error-redefining-already-defined-constructor-for-class-wp_memory_usage/)
 * Hello Alex. Hope you still maintain the plugin.
    I noticed some time ago that
   PHP is throwing an error when the plugin is active. It says:
 * Redefining already defined constructor for class wp_memory_usage, at wp-content/
   plugins/wp-memory-usage/wp-memory-usage.php:39, which is called somewhere from
   within wp-settings.php
 * I’m running the sites on PHP 5.4.
    You can find the error in the PHP errorlog
   or by using the Query Monitor plugin.
 * Can you check it out?
    Thanks in advance!
 * [https://wordpress.org/plugins/wp-memory-usage/](https://wordpress.org/plugins/wp-memory-usage/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Marcelo Pedra](https://wordpress.org/support/users/kent-brockman/)
 * (@kent-brockman)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/php-error-redefining-already-defined-constructor-for-class-wp_memory_usage/#post-4963787)
 * You only need to rename your constructor to anything else and it will be automagically
   fixed 🙂

Viewing 1 replies (of 1 total)

The topic ‘PHP ERROR: Redefining already defined constructor for class wp_memory_usage’
is closed to new replies.

 * ![](https://ps.w.org/wp-memory-usage/assets/icon-256x256.png?rev=3474934)
 * [WP-Memory-Usage](https://wordpress.org/plugins/wp-memory-usage/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-memory-usage/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-memory-usage/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-memory-usage/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-memory-usage/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-memory-usage/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Marcelo Pedra](https://wordpress.org/support/users/kent-brockman/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/php-error-redefining-already-defined-constructor-for-class-wp_memory_usage/#post-4963787)
 * Status: resolved