Title: Cannot redeclare bpsPro_memory_resource_usage()
Last modified: August 24, 2016

---

# Cannot redeclare bpsPro_memory_resource_usage()

 *  [Triffmin](https://wordpress.org/support/users/triffmin/)
 * (@triffmin)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/cannot-redeclare-bpspro_memory_resource_usage/)
 * Seeing a lot of these errors for this site:
 * Apache-Error: [file “mod_suphp.c”] [line 59] [level 3] PHP Fatal error: Cannot
   redeclare bpsPro_memory_resource_usage() (previously declared in /home/someuser/
   domains/somedomain.com/public_html/wp-content/plugins/bulletproof-security/includes/
   functions.php:12) in /home/someuser/domains/somedomain.com/public_html/wp-content/
   plugins/bulletproof-security/includes/functions.php on line 29
 * I see it for a lot of attempts to HEAD files (valid files), and in any case where
   mod_security denies the request.
 * BPS appears to be installed and working correctly otherwise. Current versions
   of BPS and WP.
 * [https://wordpress.org/plugins/bulletproof-security/](https://wordpress.org/plugins/bulletproof-security/)

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

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/cannot-redeclare-bpspro_memory_resource_usage/#post-6098036)
 * Typically this error would mean that the same exact function name exists and 
   is being loaded/called twice. Since that is not what is happening then these 
   are the other things that can cause this php error.
 * 1. Another plugin you have installed is causing the problem – deactivate plugins
   one by one to determine which plugin is causing the problem.
    2. A Proxy routing
   problem – causing files to be seen as loaded twice. 3. A backend cache problem–
   the wp-admin area is being cached and the cache is corrupt.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/cannot-redeclare-bpspro_memory_resource_usage/#post-6098248)
 * Did you find the cause of this issue/problem?
 * Thread Start Date: 3-5-2015 to 3-6-2015
    Current Date: 3-7-2015
 *  Thread Starter [Triffmin](https://wordpress.org/support/users/triffmin/)
 * (@triffmin)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/cannot-redeclare-bpspro_memory_resource_usage/#post-6098259)
 * I’ve been working though the modules, disabling them one at a time as I’m able.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/cannot-redeclare-bpspro_memory_resource_usage/#post-6098301)
 * Oops the date/time above is incorrect – reversed the 3 and 5.
 * Should have been:
 * > Thread Start Date: 5-5-2015 to 5-6-2015
   >  Current Date: 5-7-2015
 * Current date is (this is just for us to keep track of threads – ie maintain our
   sanity):
    Thread Start Date: 5-5-2015 to 5-6-2015 Current Date: 5-11-2015

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

The topic ‘Cannot redeclare bpsPro_memory_resource_usage()’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [AITpro](https://wordpress.org/support/users/aitpro/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/cannot-redeclare-bpspro_memory_resource_usage/#post-6098301)
 * Status: not resolved