New to Magento 2 and hit a bit of a hurdle I can't seem to find the answer to.
I'm trying to add the product description into a custom module that's called inside of the product page.
I've tried copying the line inside of description.phtml
<?= /* @escapeNotVerified */ $this->helper('Magento\Catalog\Helper\Output')->productAttribute($block->getProduct(), $block->getProduct()->getDescription(), 'description') ?>
however I get a white page error with no error message when I try this.
I feel like I'm missing something pretty obvious.
Any help appreciated.