Fatal error: Uncaught Error: Call to a member function getContentType() on null in /var/www/html/Components/HTML/ContentfulTemplates/Base.php:1214
Stack trace:
#0 /var/www/html/Components/HTML/ContentfulTemplates/Base.php(372): Components\HTML\ContentfulTemplates\Base::isImage(Object(Contentful\Delivery\Resource\Asset))
#1 /var/www/html/Components/HTML/ContentfulTemplates/Base.php(299): Components\HTML\ContentfulTemplates\Base::setUpComponent(Object(Contentful\Delivery\Resource\Entry))
#2 /var/www/html/Controllers/Learning/Learning.php(285): Components\HTML\ContentfulTemplates\Base::setUpFromModularPageEntry(Object(Contentful\Delivery\Resource\Entry))
#3 /var/www/html/System/Controller/Controller.php(578): Controllers\Learning\Learning->course('financial-plann...')
#4 /var/www/html/System/Controller/Controller.php(1183): System\Controller\Controller->__invoke(NULL)
#5 /var/www/html/dispatcher.php(59): System\Controller\Controller::dispatch(Object(System\Network\HTTP\Request))
#6 {main}
thrown in /var/www/html/Components/HTML/ContentfulTemplates/Base.php on line 1214