Hello –
When upgrading my PHP version from 7.4 to 8.0, I get the following warning:
PHP Warning: Undefined variable $matches in /home/xxxxxxx/public_html/wp-content/plugins/bulletproof-security/includes/db-security.php on line 469
I also get this if trying to switch to PHP 8.1. I noticed this thread from years ago, but it seems like it was fixed since then.
I’m using WordPress version 5.9.2, and BPS Pro 16.5. This also happened with BPS Pro 16.4.
Thanks
EDIT: I came across this doc from the PHP 8.0 manual. On that page if you search for the text “A number of notices have been converted into warnings:“, you’ll see that the reason this warning is appearing now is because it’s been elevated from a notice to a warning.