Home › Forums › BulletProof Security Pro › Cannot redeclare bpsPro_AP_Check()
- This topic has 7 replies, 3 voices, and was last updated 2 weeks ago by
UPR.
-
AuthorPosts
-
Andy
ParticipantHello,
The PHP Error log continuously gives the error shown below. What is the cause and what action do we need to take to resolve this?
Andy
[05-Mar-2022 17:21:48 UTC] PHP Fatal error: Cannot redeclare bpsPro_AP_Check() (previously declared in /home/mycbcc5/public_html/wp-content/plugins/bulletproof-security/includes/functions.php:43) in /home/mycbcc5/public_html/wp-content/plugins/bulletproof-security/includes/functions.php on line 53
AITpro Admin
KeymasterThis php error is always caused by another plugin that you have installed. You can disregard the php error since it is not correct/valid. The good news is that I have changed this function in BPS Pro 16.4 in a way that other plugins can no longer cause this problem. BPS Pro 16.4 will be released sometime tomorrow.
Andy
ParticipantHello again,
I received the automated reply above, asking me “To confirm or eliminate that BPS or BPS Pro is blocking something in another Plugin or Theme click the appropriate troubleshooting link below”. When I click the link, there are not specific instructions on how to confirm or eliminate what BPS Pro is blocking. Can you provide more specific instructions on what actions I need to take?
Andy
AITpro Admin
KeymasterYou don’t need to do anything for this problem. The problem has been fixed in BPS Pro 16.4, which will be released tomorrow.
AITpro Admin
KeymasterBPS Pro 16.4 was released 1.5 hours ago. Please upgrade to BPS Pro 16.4 and let me know if the php error is no longer occurring.
UPR
ParticipantIt seems this error resurfaced in version 17.4?
[03-Apr-2025 01:32:24 UTC] PHP Fatal error: Cannot redeclare bpsPro_AP_Check() (previously declared in /home/…/domains/…/public_html/wp-content/plugins/bulletproof-security/includes/functions.php:44) in /home/…/domains/…/public_html/wp-content/plugins/bulletproof-security/includes/functions.php on line 44
Any suggestions or ignore?
Many thanks!
SashAITpro Admin
KeymasterTry clearing plugin cache and browser cache. If that does not work then this error could be caused by another plugin or server-side cache. Do you have the WP Edit plugin installed? See this forum topic for help information: https://forum.ait-pro.com/forums/topic/php-fatal-error-cannot-redeclare-bpspro_ap_check/page/4/#post-25456 Another possibility could be this issue > https://wordpress.org/support/topic/wordpress-4-7-fatal-error-cannot-redeclare-get_paged_template/
UPR
ParticipantNo WP-Edit and opCache not active as far as I can see. Using WP-Rocket though.
-
AuthorPosts
- You must be logged in to reply to this topic.