• Hello,

    The plugin works great.

    However, if WP_DEBUG is turned on, the following error message is seen in wp-content/debug.log file…

    PHP Notice: Undefined index: cache_time in /path/to/wp-content/plugins/harrys-gravatar-cache/harrys-gravatar-cache.php on line 563

    Not sure why it occurs, though. Never noticed it until I set it up on a demo installation. The plugin still works, though.

    Using WP 4.7, PHP 7.0.14, Redis Object Cache plugin, and Batcache.

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

    (@harry-milatz)

    Hi Pothi,

    that is not a problem. It just says that the variable “cache_time” is not set at this moment. But it should be. So please check
    a) if this notice is shown on the frontend if you are not logged in.
    b) Or if it is only shown in the backend or frontend when you are logged in.

    If it is on b) everything is ok, if it is on a) i will have to take a look.

    Best regards,
    Harry

    Plugin Author Harry Milatz

    (@harry-milatz)

    Hi again,

    so this Warning is only the first time if you are changing/saving the cachetime.
    Let me know if it isn’t like this.

    Thread Starter Pothi Kalimuthu

    (@pothi)

    Hi Harry,

    Sorry about the delay.

    True. It shows the warning only for the first time when the cache isn’t available.

    Also, the warning is shown only on the the debug.log file. So, no complaints on it.

    I really like this plugin and what it does. I just wanted to ping you about this small notice in debug.log file.

    Thanks for your replies.

    Best,
    Pothi

    Plugin Author Harry Milatz

    (@harry-milatz)

    Hi Pothi,

    thanks for this:)

    Best regards,
    Harry

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Undefined index: cache_time’ is closed to new replies.