Hi there!
I’m running the latest versions of both WP and wp-fail2ban in a system running Ubuntu 20.04.2 LTS, nginx/1.19.6, PHP 8.0.2, and Fail2Ban v0.11.1.
Early this morning, wp-fail2ban threw the above-mentioned fatal error. Here’s the stack trace, redacted for privacy issues:
PHP message: PHP Fatal error: Uncaught Error: Attempt to assign property "abspath" on bool in [redacted WP_PATH]/wp-content/plugins/wp-fail2ban/vendor/freemius/wordpress-sdk/start.php:86
Stack trace:
#0 [redacted WP_PATH]/wp-content/plugins/wp-fail2ban/freemius.php(38): require_once()
#1 [redacted WP_PATH]/wp-content/plugins/wp-fail2ban/freemius.php(65): org\lecklider\charles\wordpress\wp_fail2ban\wf_fs()
#2 [redacted WP_PATH]/wp-content/plugins/wp-fail2ban/wp-fail2ban.php(46): require_once('...')
#3 [redacted WP_PATH]/wp-settings.php(319): include_once('...')
#4 [redacted WP_PATH]/wp-admin/setup-config.php(33): require('...')
#5 {main}
thrown in [redacted WP_PATH]/wp-content/plugins/wp-fail2ban/vendor/freemius/wordpress-sdk/start.php on line 86" while reading response header from upstream, client: 173.201.196.93, server: my.server.tld request: "GET /wp-admin/setup-config.php HTTP/1.1", upstream: "fastcgi://unix:[redacted]/sock:", host: "my.server.tld"
The request made by 173.201.196.93 was:
173.201.196.93 - - [20/Feb/2021:04:27:20 +0000] "GET /wp-admin/setup-config.php HTTP/1.1" 500 1851 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36"
which is obviously a ‘forbidden’ request. The origin seems to be a site hosted somewhere by GoDaddy, and the IP address was promptly blocked (as it should), although I’m not quite sure which of my many, many security measures blocked it
Anyway, this was a ‘fatal error’ which didn’t really impact the access to the web site (as far as I can see). But allegedly this is something coming from one of the imported libraries so maybe it’s worthy of taking a look to understand why that error appears.
It’s a non-critical issue
(note: minor edit for further redaction which I missed)