Unhandled Error!

Trying to get property of non-object

Document Thank you!
Document type CMS page
Line 8
Exception class Cms_ExecutionException

Code Highlight

<p>We will update you as we process your order keeping you notified every step of the way.</p>
<h3>Order Review</h3>
<div class="bottom_offset">
      <h3>Order ID: #<?= $order->id ?></h3>
      <h3>Order Date :  <?= h($order->order_datetime->format('%x')) ?></h3>
  <div class="clear"></div>
<table class="simple_table">
# Document Type
1 Thank you! CMS page