• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Issue WP Toolkit Wordpress Login fails with AIOS Firewall

voelu28

New Pleskian
Server operating system version
Ubuntu 20.04.6 LTS
Plesk version and microupdate number
Version 18.0.51 Update #1
Hello,
getting the following error if I want to login through WP Toolkit 6.2.2-7222:

Code:
Fehler beim Abrufen der Anmeldeinformationen des Administrators: AIOS firewall error: Unable to determine the current context.

PHP Fatal error: Uncaught Exception: Unable to determine the current context. in /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-context.php:42

Stack trace:

#0 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-context.php(60): AIOWPS\Firewall\Context::current()

#1 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-context.php(51): AIOWPS\Firewall\Context::plugins_loaded()

#2 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-utility.php(31): AIOWPS\Firewall\Context::wordpress_safe()

#3 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-helper.php(144): AIOWPS\Firewall\Utility::get_root_dir()

#4 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-helper.php(124): AIOS_Helper::request_remote()

#5 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-helper.php(62): AIOS_Helper::get_external_ip_address()

#6 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-utility-ip-address.php(17): AIOS_Helper::get_user_ip_address()

#7 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-blocking.php(103): AIOWPSecurity_Utility_IP::get_user_ip_address()

#8 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-general-init-tasks.php(31): AIOWPSecurity_Blocking::check_visitor_ip_and_perform_blocking()

#9 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/wp-security-core.php(552): AIOWPSecurity_General_Init_Tasks->__construct()

#10 /var/www/vhosts/domain.de/httpdocs/wp-includes/class-wp-hook.php(308): AIO_WP_Security->wp_security_plugin_init()

#11 /var/www/vhosts/domain.de/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()

#12 /var/www/vhosts/domain.de/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()

#13 /var/www/vhosts/domain.de/httpdocs/wp-settings.php(623): do_action()

#14 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1356): require('...')

#15 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1274): WP_CLI\Runner->load_wordpress()

#16 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()

#17 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process()

#18 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()

#19 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once('...')

#20 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wpt-wp-cli.php(31): require_once('...')

#21 {main}

thrown in /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-context.php on line 42

Fatal error: Uncaught Exception: Unable to determine the current context. in /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-context.php:42

Stack trace:

#0 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-context.php(60): AIOWPS\Firewall\Context::current()

#1 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-context.php(51): AIOWPS\Firewall\Context::plugins_loaded()

#2 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-utility.php(31): AIOWPS\Firewall\Context::wordpress_safe()

#3 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-helper.php(144): AIOWPS\Firewall\Utility::get_root_dir()

#4 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-helper.php(124): AIOS_Helper::request_remote()

#5 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-helper.php(62): AIOS_Helper::get_external_ip_address()

#6 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-utility-ip-address.php(17): AIOS_Helper::get_user_ip_address()

#7 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-blocking.php(103): AIOWPSecurity_Utility_IP::get_user_ip_address()

#8 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-general-init-tasks.php(31): AIOWPSecurity_Blocking::check_visitor_ip_and_perform_blocking()

#9 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/wp-security-core.php(552): AIOWPSecurity_General_Init_Tasks->__construct()

#10 /var/www/vhosts/domain.de/httpdocs/wp-includes/class-wp-hook.php(308): AIO_WP_Security->wp_security_plugin_init()

#11 /var/www/vhosts/domain.de/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()

#12 /var/www/vhosts/domain.de/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()

#13 /var/www/vhosts/domain.de/httpdocs/wp-settings.php(623): do_action()

#14 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1356): require('...')

#15 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1274): WP_CLI\Runner->load_wordpress()

#16 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()

#17 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process()

#18 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()

#19 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once('...')

#20 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wpt-wp-cli.php(31): require_once('...')

#21 {main}

thrown in /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-context.php on line 42

Error: Es gab einen kritischen Fehler auf Ihrer Website.Erfahren Sie mehr über die Problembehandlung in WordPress. Es gab einen kritischen Fehler auf Ihrer Website.
 
Back
Top