• Resolved sathish150dpi

    (@sathish150dpi)


    Hello Support,

    In the error_log file, I am seeing this error getting recorded repeatedly for many number of times and non-stop.

    AIOS firewall error: Unable to determine the current context.

    Am using your plugin version: Version 5.1.8 and on a multisite network. Tried researching about this error and couldn’t find any solution so far, hence reaching out to you here directly. Please help with it.

    The other question to you is, the fact I am having a multisite network and that the WordPress instance is only installed once, is it necessary that your plugin is configured to all subsites in their respective dashboard login?

    Thanks,

    Sathish

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    HI @sathish150dpi

    It is recently identified issue of the PHP CLI or WP CLI, while running AIOS through browser it is not the issue.

    This copy of the plugin may resolve your issue:

    https://gofile.io/d/m3tBPT

    This fix is going to be in the next release.

    Regards

    Thread Starter sathish150dpi

    (@sathish150dpi)

    Hello @hjogiupdraftplus,

    Thank you so much for your response and sharing a different version of the plugin. I’ve replaced my old plugin files with the one you gave and so far the error log seems silent.

    Much appreciate your timely help.

    Regards,
    Sathish

    Thread Starter sathish150dpi

    (@sathish150dpi)

    Hello @hjogiupdraftplus,

    The other question to you is, the fact I am having a multisite network and that the WordPress instance is only installed once, is it necessary that your plugin is configured to all subsites in their respective dashboard login?

    Thanks for clarifying.

    Regards,
    Sathish

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @sathish150dpi

    For multisite network It depends based on future.

    Firewall ( Basic firewall , Advanced firewall 56, 6g firewall rules ) needs to apply to only main site only.

    But Bruteforce ( rename login page, captcha etc needs to apply to individual sites )

    Features applying to main site applies to subsites are visible only in main site and on subsites those are not visible.

    Regards

    Sending a message here as this one shows up as number one in a google search for the issue. One of our website’s admin panels just crashed with the critical error message, and PHP logs show the following errors:

    (the site is not hosted on the multisite network) and everything is up to date.

    [04-May-2023 19:52:53 UTC] AIOS firewall error: Unable to determine the current context.

    [04-May-2023 19:52:54 UTC] PHP Fatal error: Uncaught Error: Call to a member function set_value() on null in /var/web/site/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-configure-settings.php:468

    PHP Stacktrace:

    – undefined – undefined – undefined – undefined – undefined – undefined – undefined – undefined – undefined – undefined – undefined – undefined/var/web/site/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-configure-settings.php(390): AIOWPSecurity_Configure_Settings::set_ip_retrieve_method_configs()/var/web/site/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/wp-security-core.php(460): AIOWPSecurity_Configure_Settings::set_firewall_configs()/var/web/site/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/wp-security-core.php(515): AIO_WP_Security->firewall_upgrade_handler()/var/web/site/public_html/wp-includes/class-wp-hook.php(308): AIO_WP_Security->plugins_loaded_handler(”)/var/web/site/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)/var/web/site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)/var/web/site/public_html/wp-settings.php(486): do_action(‘plugins_loaded’)/var/web/site/public_html/wp-config.php(84): require_once(‘/var/web/site/p…’)/var/web/site/public_html/wp-load.php(50): require_once(‘/var/web/site/p…’)/var/web/site/public_html/wp-admin/admin.php(34): require_once(‘/var/web/site/p…’)/var/web/site/public_html/wp-admin/plugins.php(10): require_once(‘/var/web/site/p…’){main} thrown in /var/web/site/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-configure-settings.php on line 468

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @ajaffri

    Below copy of the plugin may resolve your issue:

    Please upload the zip as Add new plugin and replace it with existing AIOS plugin.

    https://gofile.io/d/m3tBPT

    This fix is going to be in the next release.

    Thank you for your reply. I appreciate it. When will it be part of the next release so all of our other websites can benefit from an auto update and we don’t have to upload the plugin manually?

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

The topic ‘AIOS firewall error: Unable to determine the current context.’ is closed to new replies.