( ! ) 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.0012513200Drupal\Core\DrupalKernel->handle( )../index.php:19
30.01662054456Stack\StackedHttpKernel->handle( )../DrupalKernel.php:664
40.01662054568Drupal\Core\StackMiddleware\NegotiationMiddleware->handle( )../StackedHttpKernel.php:23
50.01672054880Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle( )../NegotiationMiddleware.php:50
60.01672055312Drupal\page_cache\StackMiddleware\PageCache->handle( )../ReverseProxyMiddleware.php:47
70.01702063504Drupal\page_cache\StackMiddleware\PageCache->lookup( )../PageCache.php:75
80.01792064072Drupal\page_cache\StackMiddleware\PageCache->fetch( )../PageCache.php:121
90.01792064152Drupal\Core\StackMiddleware\KernelPreHandle->handle( )../PageCache.php:184
100.02392447568Drupal\Core\StackMiddleware\Session->handle( )../KernelPreHandle.php:47
110.02572596336Symfony\Component\HttpKernel\HttpKernel->handle( )../Session.php:57
120.02572597272Symfony\Component\HttpKernel\HttpKernel->handleRaw( )../HttpKernel.php:68
130.194110908248call_user_func_array:{/opt/app-root/src/vendor/symfony/http-kernel/HttpKernel.php:153} ( )../HttpKernel.php:153
140.194110908448Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}( )../HttpKernel.php:153
150.194110908696Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext( )../EarlyRenderingControllerWrapperSubscriber.php:97
160.194210920640Drupal\Core\Render\Renderer->executeInRenderContext( )../EarlyRenderingControllerWrapperSubscriber.php:124
170.194210921088Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}( )../Renderer.php:582
180.194210921136call_user_func_array:{/opt/app-root/src/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:123} ( )../EarlyRenderingControllerWrapperSubscriber.php:123
190.194210921680Drupal\fsi_node_to_markup\Controller\NodeToMarkupController->download( )../EarlyRenderingControllerWrapperSubscriber.php:123