• Resolved jman057

    (@jman057)


    Hi Recently installed BPS and still going through options etc…

    This error seems to keep coming up in my servers error log:

    PHP Fatal error: Cannot redeclare bpsPro_Browser_UA_scroll_animation() (previously declared in …/wp-content/plugins/bulletproof-security/includes/functions.php:13) in …/wp-content/plugins/bulletproof-security/includes/functions.php on line 96

    Do you have any suggestions for this?

    Many thanks,

    Jamie

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

    (@aitpro)

    Are you using the WP Edit plugin? There is known issue with the WP Edit plugin that we think has to do with Ouput Buffering. https://forum.ait-pro.com/forums/topic/php-fatal-error-cannot-redeclare-bpspro_ap_check/page/4/#post-25456

    Thread Starter jman057

    (@jman057)

    Hi thanks or your quick reply, and no, I’m not running that plugin. Is there anything I can do to help identify the cause? I have a staging site and could deactivate all plugins and see if there is an issue. Do you know how I can predictably replicate that error? (it’s not happening enough to be on every page load and seems to be from admin and front end viewing).

    PS: I think it’s stopping ISL, as I left my machine for 3x the set time and I’m still logged in..

    Many thanks

    Plugin Author AITpro

    (@aitpro)

    Funny you should ask how to reproduce that error. We tried for days to reproduce the error and never could on our testing server. It could be a combination of server configuration settings and/or just another plugin. Yep, try deactivating your other plugins and see if the error is still occurring.

    Plugin Author AITpro

    (@aitpro)

    The PHP error occurs when a particular function is seen as being loaded twice or existing twice. Since the function obviously does not exist twice then what your PHP server is seeing is that function is being loaded twice by something. Typically that would have something to do with Object buffering, ouput buffering, caching method on the server, caching method on your website or possibly some sort of Proxy or Load Balancer problem that is loading things twice.

    • This reply was modified 7 years, 11 months ago by AITpro.
    • This reply was modified 7 years, 11 months ago by AITpro.
    Plugin Author AITpro

    (@aitpro)

    Another thing to check is your wp-config.php file. If you added and are using additional code in your wp-config.php file then post that code so I can take a look at it. Also make sure there is not any code in your wp-config.php file after these last lines of code below:

    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');
    • This reply was modified 7 years, 11 months ago by AITpro.
    • This reply was modified 7 years, 11 months ago by AITpro.
    Plugin Author AITpro

    (@aitpro)

    Is the issue/problem still occurring or is it resolved?

    Thread Starter jman057

    (@jman057)

    Hi Thanks for your responses and apologies for the delay in responding, I have been on holiday ??

    I’m hosted with WPengine, which I’m fairly sure uses varnish and some other caching techniques. DNS though cloudflare. Just gone to php7 and changed domain and the error persists.

    I’ve attempted deactivating all non-essential plugins, setting ISL time to 1 min, waiting 4 min, however nothing seems to happen, including no errors logged.

    I’ve decide to use 2fa such as clef, which includes session timeout to address this and also increase account security.

    Thanks again for your help, sorry we couldn’t make it work.

    Jamie

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Fatal error: Cannot redeclare bpsPro_Browser_UA_scroll_animation()’ is closed to new replies.