Quantcast
Channel: BulletProof Security Forum » All Posts
Viewing all articles
Browse latest Browse all 12503

Undefined variable: matches in /bulletproof-security/includes/db-security.php on line 486

$
0
0

This same error is added to the PHP Error Log every time I do anything on the site:

PHP Notice:  Undefined variable: matches in /home/xxxxx/public_html/wp-content/plugins/bulletproof-security/includes/db-security.php on line 486

These are the lines from the file:
485: // Prevents BackWPup coding mistake from displaying BPS Pro Dashboard alerts on the BackWPup Backups page
486: if ( ! preg_match( ‘/page=backwpupbackups/’, esc_html( $_SERVER[‘QUERY_STRING’], $matches ) ) ) {

I even went so far as to install BackWPup just to see if the error would stop, but the error continues with or without the BackWPup plugin.

Yes, the suggestion to do troubleshooting is all fine and well, but the error occurs whether or not BackWPup is installed. The undefined variable is in your code, not someone else’s code.

  • This topic was modified 9 hours, 36 minutes ago by Profile photo of AITpro Admin AITpro Admin.
  • This topic was modified 9 hours, 36 minutes ago by Profile photo of AITpro Admin AITpro Admin.

Viewing all articles
Browse latest Browse all 12503

Trending Articles