Unhandled Error!

Trying to get property of non-object

Document shop:product
Document type CMS partial
Line 861
Exception class Cms_ExecutionException

Code Highlight

        <meta itemprop="brand" content="<?= $product->manufacturer->name; ?>" />
    <? endif; ?>
 
    <script>
        fbq('track', 'ViewContent', {
            content_name: '<?= $product->title ?>',
            content_category: '<?= $product->categories[0]->name; ?>',
            content_ids: ['<?= $product->sku; ?>'],
            content_type: 'product',
            value: <?= number_format($product->get_sale_price(1)) ?>,
            currency: 'GBP'
        });
    </script>
# Document Type
2 shop:product CMS partial
1 Discount CMS page