Title: jayht3's Replies | WordPress.org

---

# jayht3

  [  ](https://wordpress.org/support/users/jayht3/)

 *   [Profile](https://wordpress.org/support/users/jayht3/)
 *   [Topics Started](https://wordpress.org/support/users/jayht3/topics/)
 *   [Replies Created](https://wordpress.org/support/users/jayht3/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/jayht3/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/jayht3/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/jayht3/engagements/)
 *   [Favorites](https://wordpress.org/support/users/jayht3/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] FreeBSD Bastille Jail NAT ‘Failed to load firewall resources’](https://wordpress.org/support/topic/freebsd-bastille-jail-nat-failed-to-load-firewall-resources/)
 *  Thread Starter [jayht3](https://wordpress.org/support/users/jayht3/)
 * (@jayht3)
 * [6 months ago](https://wordpress.org/support/topic/freebsd-bastille-jail-nat-failed-to-load-firewall-resources/#post-18716743)
 * I had not enabled the firewall set up wizard, so Im glad I didnt spend too much
   time chasing that rabbit. I added php-mod85 and it fixed the problem. Might be
   good to make a list of whats needed, or add a php module check to the file permissions
   area. Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] FreeBSD Bastille Jail NAT ‘Failed to load firewall resources’](https://wordpress.org/support/topic/freebsd-bastille-jail-nat-failed-to-load-firewall-resources/)
 *  Thread Starter [jayht3](https://wordpress.org/support/users/jayht3/)
 * (@jayht3)
 * [6 months ago](https://wordpress.org/support/topic/freebsd-bastille-jail-nat-failed-to-load-firewall-resources/#post-18715747)
 * I enabled debugging in wp-config.php, and see this message multiple times,
 * [11-Nov-2025 19:55:53 UTC] AIOS firewall error: Call to undefined function AIOWPS\
   Firewall\token_get_all()
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] FreeBSD Bastille Jail NAT ‘Failed to load firewall resources’](https://wordpress.org/support/topic/freebsd-bastille-jail-nat-failed-to-load-firewall-resources/)
 *  Thread Starter [jayht3](https://wordpress.org/support/users/jayht3/)
 * (@jayht3)
 * [6 months ago](https://wordpress.org/support/topic/freebsd-bastille-jail-nat-failed-to-load-firewall-resources/#post-18715744)
 * Below is the cut/paste of the errors I get from within wp-admin when I go to 
   deactivate AIOS.
 * **Fatal error**: Uncaught Error: Call to undefined function filter_var() in /
   usr/local/www/apache24/data/demo-01.odd.net/wp-content/plugins/all-in-one-wp-
   security-and-firewall/classes/wp-security-helper.php:81 Stack trace: #0 /usr/
   local/www/apache24/data/demo-01.odd.net/wp-content/plugins/all-in-one-wp-security-
   and-firewall/classes/wp-security-helper.php(103): AIOS_Helper::get_server_detected_user_ip_address()#
   1 /usr/local/www/apache24/data/demo-01.odd.net/wp-content/plugins/all-in-one-
   wp-security-and-firewall/classes/wp-security-utility-ip-address.php(17): AIOS_Helper::
   get_user_ip_address() #2 /usr/local/www/apache24/data/demo-01.odd.net/wp-content/
   plugins/all-in-one-wp-security-and-firewall/classes/wp-security-audit-event-handler.
   php(68): AIOWPSecurity_Utility_IP::get_user_ip_address() #3 /usr/local/www/apache24/
   data/demo-01.odd.net/wp-includes/class-wp-hook.php(324): AIOWPSecurity_Audit_Event_Handler-
   >record_event(‘plugin_deactiva…’, Array, ‘warning’) #4 /usr/local/www/apache24/
   data/demo-01.odd.net/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”,
   Array) #5 /usr/local/www/apache24/data/demo-01.odd.net/wp-includes/plugin.php(
   517): WP_Hook->do_action(Array) #6 /usr/local/www/apache24/data/demo-01.odd.net/
   wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-audit-
   events.php(273): do_action(‘aiowps_record_e…’, ‘plugin_deactiva…’, Array, ‘warning’)#
   7 /usr/local/www/apache24/data/demo-01.odd.net/wp-content/plugins/all-in-one-
   wp-security-and-firewall/classes/wp-security-audit-events.php(212): AIOWPSecurity_Audit_Events::
   event_plugin_changed(‘deactivated’, ‘all-in-one-wp-s…’, ”, ‘warning’) #8 /usr/
   local/www/apache24/data/demo-01.odd.net/wp-includes/class-wp-hook.php(324): AIOWPSecurity_Audit_Events::
   plugin_deactivated(‘all-in-one-wp-s…’, false) #9 /usr/local/www/apache24/data/
   demo-01.odd.net/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”,
   Array) #10 /usr/local/www/apache24/data/demo-01.odd.net/wp-includes/plugin.php(
   517): WP_Hook->do_action(Array) #11 /usr/local/www/apache24/data/demo-01.odd.
   net/wp-admin/includes/plugin.php(840): do_action(‘deactivated_plu…’, ‘all-in-
   one-wp-s…’, false) #12 /usr/local/www/apache24/data/demo-01.odd.net/wp-admin/
   plugins.php(211): deactivate_plugins(‘all-in-one-wp-s…’, false, false) #13 {main}
   thrown in **/usr/local/www/apache24/data/demo-01.odd.net/wp-content/plugins/all-
   in-one-wp-security-and-firewall/classes/wp-security-helper.php** on line **81**
 * **Fatal error**: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\
   filter_var() in /usr/local/www/apache24/data/demo-01.odd.net/wp-includes/PHPMailer/
   PHPMailer.php:4269 Stack trace: #0 /usr/local/www/apache24/data/demo-01.odd.net/
   wp-includes/PHPMailer/PHPMailer.php(4232): PHPMailer\PHPMailer\PHPMailer::isValidHost(‘
   demo-01.odd.net’) #1 /usr/local/www/apache24/data/demo-01.odd.net/wp-includes/
   PHPMailer/PHPMailer.php(2724): PHPMailer\PHPMailer\PHPMailer->serverHostname()#
   2 /usr/local/www/apache24/data/demo-01.odd.net/wp-includes/PHPMailer/PHPMailer.
   php(1625): PHPMailer\PHPMailer\PHPMailer->createHeader() #3 /usr/local/www/apache24/
   data/demo-01.odd.net/wp-includes/PHPMailer/PHPMailer.php(1519): PHPMailer\PHPMailer\
   PHPMailer->preSend() #4 /usr/local/www/apache24/data/demo-01.odd.net/wp-includes/
   pluggable.php(547): PHPMailer\PHPMailer\PHPMailer->send() #5 /usr/local/www/apache24/
   data/demo-01.odd.net/wp-includes/class-wp-recovery-mode-email-service.php(225):
   wp_mail(Array, ‘[Demo Site 1] Y…’, ‘Howdy!\n\nWordPre…’, Array, Array) #6 /usr/
   local/www/apache24/data/demo-01.odd.net/wp-includes/class-wp-recovery-mode-email-
   service.php(62): WP_Recovery_Mode_Email_Service->send_recovery_mode_email(86400,
   Array, Array) #7 /usr/local/www/apache24/data/demo-01.odd.net/wp-includes/class-
   wp-recovery-mode.php(185): WP_Recovery_Mode_Email_Service->maybe_send_recovery_mode_email(
   86400, Array, Array) #8 /usr/local/www/apache24/data/demo-01.odd.net/wp-includes/
   class-wp-fatal-error-handler.php(55): WP_Recovery_Mode->handle_error(Array) #
   9 [internal function]: WP_Fatal_Error_Handler->handle() #10 {main} thrown in **/
   usr/local/www/apache24/data/demo-01.odd.net/wp-includes/PHPMailer/PHPMailer.php**
   on line **4269**
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] FreeBSD Bastille Jail NAT ‘Failed to load firewall resources’](https://wordpress.org/support/topic/freebsd-bastille-jail-nat-failed-to-load-firewall-resources/)
 *  Thread Starter [jayht3](https://wordpress.org/support/users/jayht3/)
 * (@jayht3)
 * [6 months ago](https://wordpress.org/support/topic/freebsd-bastille-jail-nat-failed-to-load-firewall-resources/#post-18715544)
 * This is on a fresh install of WP, only other plugins are akismet and hello dolly.
   Stock theme, no pages or content changed yet.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] FreeBSD Bastille Jail NAT ‘Failed to load firewall resources’](https://wordpress.org/support/topic/freebsd-bastille-jail-nat-failed-to-load-firewall-resources/)
 *  Thread Starter [jayht3](https://wordpress.org/support/users/jayht3/)
 * (@jayht3)
 * [6 months ago](https://wordpress.org/support/topic/freebsd-bastille-jail-nat-failed-to-load-firewall-resources/#post-18715536)
 * Thanks, the AIOS file permissions window indicates no problems, all green. ls-
   R * | grep aios-bootstrap.php shows no results, issued from within the root dir
   of the website (where the wp-config.php is). file ownership and group are www:
   www . Is there a log that would show an error as to why the aios-bootstrap.php
   didnt get copied correctly? Thanks in Advance. I checked another WP site I have
   where AIOS is working correctly, and dont see a aios-bootstrap.php file there
   either?
    -  This reply was modified 6 months ago by [jayht3](https://wordpress.org/support/users/jayht3/).

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