• Resolved skeno

    (@skeno)


    ?
    The following error when saving settings or deactivate plugins.
    Version is 5.1.8

    AIOS firewall error: Unable to determine the current context.

    PHP Fatal error:? Uncaught Exception: Unable to determine the current context. in /xxxxxxxx/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-context.php:42

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

    (@hjogiupdraftplus)

    Hi @skeno

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

    We are checking in details of it and going to fix it asap and get back to you.

    Regards

    Ditto. I am running in to a similar issue. My website is hosted by Dreamhost and they just attempted to update PHP to 8.1 but it failed. Error log shows a similar likely related message. Any ETA on this?

    Error report: /usr/bin/wp: line 23: cd: /root: Permission denied AIOS firewall error: Unable to determine the current context. PHP Warning: Undefined array key “HTTP_HOST” in /usr/local/wp/php/WP_CLI/Runner.php(1298) : eval()’d code on line 99 PHP Fatal error: Uncaught Exception: Unable to determine the current context. in /home/xxxxxxxxxxx/xxxxxxxxxxx/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-context.php:42 Stack trace: #0 /home/xxxxxxxxxxx/xxxxxxxxxxx/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-context.php(60): AIOWPS\Firewall\Context::current() #1 /home/xxxxxxxxxxx/xxxxxxxxxxx/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/firewall/wp-security-firewall-context.php(51): AIOWPS\Firewall\Co

    • This reply was modified 1 year, 7 months ago by a495.
    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @a495

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

    We are working on fix of it get back to you asap.

    Regards

    Plugin Support aporter

    (@aporter)

    Hi,

    This copy of the plugin may resolve your issue:

    https://gofile.io/d/m3tBPT

    This fix is going to be in the next release.

    Best Wishes,

    Ashley

    Ok great! Any idea when the next release will be out?

    Also had same issue – have downloaded fix, await next release

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘php fatal error’ is closed to new replies.