• 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://ww.wp.xz.cn/plugins/bulletproof-security/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author AITpro

    (@aitpro)

    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

    (@aitpro)

    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

    (@triffmin)

    I’ve been working though the modules, disabling them one at a time as I’m able.

    Plugin Author AITpro

    (@aitpro)

    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.