( ! ) Fatal error: Call to a member function getFileUri() on null in /opt/app-root/src/web/modules/custom/fsi_node_to_markup/src/Controller/NodeToMarkupController.php on line 156
Call Stack
#TimeMemoryFunctionLocation
10.0000249008{main}( )../index.php:0
20.0015513200Drupal\Core\DrupalKernel->handle( )../index.php:19
30.01842054456Stack\StackedHttpKernel->handle( )../DrupalKernel.php:664
40.01842054568Drupal\Core\StackMiddleware\NegotiationMiddleware->handle( )../StackedHttpKernel.php:23
50.01842054880Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle( )../NegotiationMiddleware.php:50
60.01842055312Drupal\page_cache\StackMiddleware\PageCache->handle( )../ReverseProxyMiddleware.php:47
70.01872063504Drupal\page_cache\StackMiddleware\PageCache->lookup( )../PageCache.php:75
80.01942064072Drupal\page_cache\StackMiddleware\PageCache->fetch( )../PageCache.php:121
90.01942064152Drupal\Core\StackMiddleware\KernelPreHandle->handle( )../PageCache.php:184
100.02572447568Drupal\Core\StackMiddleware\Session->handle( )../KernelPreHandle.php:47
110.02732596336Symfony\Component\HttpKernel\HttpKernel->handle( )../Session.php:57
120.02732597272Symfony\Component\HttpKernel\HttpKernel->handleRaw( )../HttpKernel.php:68
130.277810908440call_user_func_array:{/opt/app-root/src/vendor/symfony/http-kernel/HttpKernel.php:153} ( )../HttpKernel.php:153
140.277910908640Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}( )../HttpKernel.php:153
150.277910908888Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext( )../EarlyRenderingControllerWrapperSubscriber.php:97
160.277910920832Drupal\Core\Render\Renderer->executeInRenderContext( )../EarlyRenderingControllerWrapperSubscriber.php:124
170.277910921280Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}( )../Renderer.php:582
180.277910921328call_user_func_array:{/opt/app-root/src/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:123} ( )../EarlyRenderingControllerWrapperSubscriber.php:123
190.278010921872Drupal\fsi_node_to_markup\Controller\NodeToMarkupController->download( )../EarlyRenderingControllerWrapperSubscriber.php:123