Avoid PHP fatal errors for plots with no activity

Started happening after upgrade to phplot 6.1.0

Bug: 63013
Change-Id: I3dc4796c12db587e1f9000e2d539c2cc97a4b58d
Merge "Avoid PHP fatal errors for plots with no activity"