Getting php undefined variable errors in logs
-
I was checking apache’s error.log and noticed I’ve been getting these undefined variable php errors that refer to 3 different locations in one file, lines 405, 465, and 466.
I quickly noticed what the cause was for these 3 errors to repeat in the log. In my WordPress when I go to my plugins list at the top you know where the links for (all, active, inactive) are there is also “must-use” to right of inactive. When checking “must use” just clicking the word must-use is what is causing these 3 error lines referring to 3 different locations in a file to repeat in the error.log.
PHP Notice: Undefined variable: bpspro_version in /var/www/wordpress/wp-content/plugins/bulletproof-security/admin/includes/admin.php on line 465, referer: https://<removed>/wp-admin/plugins.php?plugin_status=mustuse
PHP Notice: Undefined variable: bpspro_version in /var/www/wordpress/wp-content/plugins/bulletproof-security/admin/includes/admin.php on line 466, referer: https://<removed>/wp-admin/plugins.php?plugin_status=mustuse
PHP Notice: Undefined variable: tag in /var/www/wordpress/wp-content/plugins/bulletproof-security/admin/includes/admin.php on line 405, referer: https://<removed>/wp-admin/plugins.php?plugin_status=mustuse
Is there a simple fix I could maybe do by editing the file or whatnot?
Anhow, thanks for any info.
- The topic ‘Getting php undefined variable errors in logs’ is closed to new replies.