( ! ) Fatal error: Call to a member function hasTranslation() on null in /var/www/html/saham/sites/all/modules/custom/core_saham/src/Helper/Helpers.php on line 80
Call Stack
#TimeMemoryFunctionLocation
10.0001235720{main}( ).../index.php:0
20.01055061320Drupal\Core\DrupalKernel->handle( ).../index.php:23
30.04076291368Stack\StackedHttpKernel->handle( ).../DrupalKernel.php:628
40.04076291480Drupal\Core\StackMiddleware\NegotiationMiddleware->handle( ).../StackedHttpKernel.php:23
50.04086291984Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle( ).../NegotiationMiddleware.php:50
60.04086292416Drupal\page_cache\StackMiddleware\PageCache->handle( ).../ReverseProxyMiddleware.php:47
70.04166301128Drupal\page_cache\StackMiddleware\PageCache->lookup( ).../PageCache.php:74
80.04366301856Drupal\page_cache\StackMiddleware\PageCache->fetch( ).../PageCache.php:120
90.04376301936Drupal\Core\StackMiddleware\KernelPreHandle->handle( ).../PageCache.php:206
100.05386600136Drupal\Core\StackMiddleware\Session->handle( ).../KernelPreHandle.php:47
110.06026750280Symfony\Component\HttpKernel\HttpKernel->handle( ).../Session.php:57
120.06026751136Symfony\Component\HttpKernel\HttpKernel->handleRaw( ).../HttpKernel.php:62
130.613511058384call_user_func_array:{/var/www/html/saham/vendor/symfony/http-kernel/HttpKernel.php:139} ( ).../HttpKernel.php:139
140.613511058584Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}( ).../HttpKernel.php:139
150.613511058832Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext( ).../EarlyRenderingControllerWrapperSubscriber.php:97
160.613711070792Drupal\Core\Render\Renderer->executeInRenderContext( ).../EarlyRenderingControllerWrapperSubscriber.php:124
170.613811071240Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}( ).../Renderer.php:574
180.613811071288call_user_func_array:{/var/www/html/saham/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php:123} ( ).../EarlyRenderingControllerWrapperSubscriber.php:123
190.613911071760Drupal\core_saham\Controller\ProductController->details_slug( ).../EarlyRenderingControllerWrapperSubscriber.php:123
200.767917255952Drupal\core_saham\Helper\Helpers::get_product_detail( ).../ProductController.php:55