• Hi,

    Undefined variable grav causes errors when re-login after a period of inactivity (I’m using a plugin login security solution)

    line 152 of stop-spammer-registrations.php

    was…

    if ($grav) {

    is

    if (isset($grav)) {

    Php is heading to the direction of declared variables because of security risks of leaving any variable open. I’m starting to declare all variables ’cause I have a feeling that php 6 or 7 is going to start requiring this.

    Thanks,
    -TJ

    https://www.ads-software.com/plugins/stop-spammer-registrations-plugin/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Undefined variable grav causes errors when re-login’ is closed to new replies.