Support » Plugin: BulletProof Security » Getting php undefined variable errors in logs

  • Resolved cito

    (@cito)


    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: http://<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: http://<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: http://<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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author AITpro

    (@aitpro)

    A php undefined error is typically a nick nack issue. We will take care of these errors in the next BPS plugin release. You can just ignore these php errors for now.

    cito

    (@cito)

    Ah okay, thank you

    Plugin Author AITpro

    (@aitpro)

    We will be releasing a new BPS plugin version this Monday – 3 days from now. Actually as it turned out the “Undefined variable: bpspro_version” error was a minor screw up. That variable is for the BPS Pro plugin. The BPS plugin uses a different variable name. We forgot to change the variable name in the BPS plugin when we copied the code from BPS Pro. 😉 Anyway it only causes a very minor issue with the WP version tag not displaying in a BPS js script.

    • This reply was modified 12 months ago by AITpro.
    • This reply was modified 12 months ago by AITpro.
    Plugin Author AITpro

    (@aitpro)

    The php errors were fixed in BPS 3.8, which was released yesterday.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Getting php undefined variable errors in logs’ is closed to new replies.