Title: Probles enabling firewall
Last modified: September 1, 2016

---

# Probles enabling firewall

 *  Resolved [MKay](https://wordpress.org/support/users/mongia/)
 * (@mongia)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/probles-enabling-firewall/)
 * Hi, when I try to enable firewall with the alternate method on SiteGround hosting
   with PHP 7.0.7, I retrieve the following error, both in back-end and in front-
   end
 * Warning: array_merge(): Argument #2 is not an array in /home/username/public_html/
   wp-includes/load.php on line 65
 * Note: I substituted my username with the word username in the path above
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

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

 *  [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [9 years, 11 months ago](https://wordpress.org/support/topic/probles-enabling-firewall/#post-7497900)
 * Does it appear if you switch back to 5.6?
 *  Thread Starter [MKay](https://wordpress.org/support/users/mongia/)
 * (@mongia)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/probles-enabling-firewall/#post-7497903)
 * With 5.6.22 it works like a charm, thanks!
    I’ll wait the fix for PHP7
 *  [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [9 years, 11 months ago](https://wordpress.org/support/topic/probles-enabling-firewall/#post-7497931)
 * Great 🙂
 *  [wfasa](https://wordpress.org/support/users/wfasa/)
 * (@wfasa)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/probles-enabling-firewall/#post-7497957)
 * Hristo,
    thanks for helping out here much appreciated! Just to check, does this
   particular issue with PHP 7.0.7 relate to Wordfence or just WordPress?
 *  [Hristo Pandjarov](https://wordpress.org/support/users/hristo-sg/)
 * (@hristo-sg)
 * SiteGround Representative
 * [9 years, 11 months ago](https://wordpress.org/support/topic/probles-enabling-firewall/#post-7497961)
 * I think it’s a WordFence one. WordPress works great with PHP7 since a lot of 
   versions 🙂
 *  Thread Starter [MKay](https://wordpress.org/support/users/mongia/)
 * (@mongia)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/probles-enabling-firewall/#post-7497965)
 * I really don’t know. In order to answer [@wfasa](https://wordpress.org/support/users/wfasa/),
   I deactivated WordFence, changed PHP from 5.6 to 7.0 and effectively the site
   worked well. One more try, I reactivated WordFence and magically the error went
   away and the firewall is active.
    I think the problem relates to WordFence and
   PHP 7.0 only during firewall activation. Once everything’s ok!
 *  Thread Starter [MKay](https://wordpress.org/support/users/mongia/)
 * (@mongia)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/probles-enabling-firewall/#post-7497966)
 * I didn’t considered the meantime WordPress update to 4.5.3. Maybe this could 
   be significant.
 *  [wfasa](https://wordpress.org/support/users/wfasa/)
 * (@wfasa)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/probles-enabling-firewall/#post-7497984)
 * Thanks for the info both of you. I’ll track this and issue see what we can come
   up with.

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

The topic ‘Probles enabling firewall’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [firewall](https://wordpress.org/support/topic-tag/firewall/)
 * [waf](https://wordpress.org/support/topic-tag/waf/)

 * 8 replies
 * 3 participants
 * Last reply from: [wfasa](https://wordpress.org/support/users/wfasa/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/probles-enabling-firewall/#post-7497984)
 * Status: resolved