• Resolved Dam13n

    (@dam13n)


    Out of nowhere I get this error on my website:

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

    I tried to deactivate the plugin, remove the htaccess and the error message still shows!

    https://ww.wp.xz.cn/plugins/bulletproof-security/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Dam13n

    (@dam13n)

    The error message shows only on my index page! All other pages work.

    Thread Starter Dam13n

    (@dam13n)

    Issue fixed! W3TC plugin was causing it.

    Plugin Author AITpro

    (@aitpro)

    hmm interesting. Looks like a is_admin() conditional check needs to be added to the bpsPro_Browser_UA_scroll_animation() function if this jQuery is being seen on the frontend of the site and being cached. Will be added in the next BPS version release. Thanks for posting this.

    Plugin Author AITpro

    (@aitpro)

    Oh wait a minute. That function and BPS plugin file should not be being cached at all. The bpsPro_Browser_UA_scroll_animation() function is called inpage in BPS plugin pages only so the php error is very strange. Not sure why W3TC would be caching a backend plugin file? Wierd stuff.

    Plugin Author AITpro

    (@aitpro)

    Assuming the issue/problem was resolved and has not returned again – thread has been resolved.

    Thread Start Date: 11-22-2015
    Thread Resolved/Current Date: 11-25-2015

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

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