PHP Notice: Undefined index
kenlog opened this issue · 5 comments
kenlog commented
@creecros I noticed this notification in the log. Some idea? I tried with "isset" but it's not good
creecros commented
when and where is it occurring? I'm not seeing it.
creecros commented
not showing up in my logs for v1.25 or 1.26, sure it's related to this plugin? copy the full log line.
creecros commented
didn't realize you had newer commits, i found it.
creecros commented
you had the right idea. isset is boolean though, so first determine if both are set, using && and then compare. so you needed both lines:
UpdateNotifier/Helper/Notifier.php
Lines 35 to 36 in a98da91
you could combine all into one if....but it would be a long line. would look like if ((this && that) && (this < that))