Title: redeclare in functions.php?
Last modified: August 22, 2016

---

# redeclare in functions.php?

 *  Resolved [rayman5231](https://wordpress.org/support/users/rayman5231/)
 * (@rayman5231)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/redeclare-in-functionsphp/)
 * found this in error log, any ideas?
 * [11-Jan-2015 08:20:30 UTC] PHP Fatal error: Cannot redeclare bps_Master_htaccess_folder_bpsbackup_denyall()(
   previously declared in /wp-content/plugins/bulletproof-security/includes/functions.
   php:12) in /wp-content/plugins/bulletproof-security/includes/functions.php on
   line 27
 * thanks for a great plugin
 * > ` if ( current_user_can(‘manage_options’) ) {
   >  if ( !file_exists($denyAllHtaccessCopy) ) {
   >  [@copy](https://wordpress.org/support/users/copy/)(
   > $denyAllHtaccess, $denyAllHtaccessCopy); }
   >  if ( is_dir($bpsBackup) && !file_exists($bpsBackupHtaccess) ) {
   >  [@copy](https://wordpress.org/support/users/copy/)(
   > $denyAllHtaccess, $bpsBackupHtaccess); } } } `
 * [https://wordpress.org/plugins/bulletproof-security/](https://wordpress.org/plugins/bulletproof-security/)

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

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/redeclare-in-functionsphp/#post-5760794)
 * Did the php error only occur once back on january 11th? If so, my guess would
   be that during a BPS upgrade the function was seen (declared) twice. If it did
   not occur again since then then you can disregard that old php error message.
 *  Thread Starter [rayman5231](https://wordpress.org/support/users/rayman5231/)
 * (@rayman5231)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/redeclare-in-functionsphp/#post-5760795)
 * ok, I’ll keep an eye on it.

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

The topic ‘redeclare in functions.php?’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [rayman5231](https://wordpress.org/support/users/rayman5231/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/redeclare-in-functionsphp/#post-5760795)
 * Status: resolved