diff --git a/htdocs/public/views/overview.php b/htdocs/public/views/overview.php
index c571c0318448eafed5acf2afed42a86b51224f21..c07d3798c79ca1c7a5e087d4e507645806b8c8e4 100644
--- a/htdocs/public/views/overview.php
+++ b/htdocs/public/views/overview.php
@@ -321,7 +321,7 @@
             <?php endif;?>
 
             <!-- Latest PHG and RNG -->
-            <?php if ($latestConfirmedPacket->isExistingObject()) : ?>
+            <?php if ($latestConfirmedPacket && $latestConfirmedPacket->isExistingObject()) : ?>
                 <?php if ($latestConfirmedPacket->phg != null || $latestConfirmedPacket->latestPhgTimestamp != null) : ?>
                     <div class="overview-content-divider"></div>
                     <div>