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