- πΊπΈUnited States luke.leber Pennsylvania
Hey, I'm closing this one as outdated, but if this is still an issue, please re-open it.
Thanks
Hello There!
I get this error several times a day
I can not locate it.
My Drupal:
- Drupal 8.5.3
- PHP 7.0.29
- Juicebox 8.x-2.0-beta3+8-dev
Do you have some ideas?
Thanks
TypeError: Argument 1 passed to Drupal\Core\Entity\EntityRepository::getTranslationFromContext() must implement interface Drupal\Core\Entity\EntityInterface, null given, called in /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/modules/contrib/juicebox/src/Controller/JuiceboxXm... on line 118 in Drupal\Core\Entity\EntityRepository->getTranslationFromContext() (Zeile 82 in /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/core/lib/Drupal/Core/Entity/EntityRepository.php) #0 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/modules/contrib/juicebox/src/Controller/JuiceboxXm...(118): Drupal\Core\Entity\EntityRepository->getTranslationFromContext(NULL) #1 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/modules/contrib/juicebox/src/Controller/JuiceboxXm...(106): Drupal\juicebox\Controller\JuiceboxXmlControllerField->init() #2 [internal function]: Drupal\juicebox\Controller\JuiceboxXmlControllerBase->xmlController() #3 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderin...(123): call_user_func_array(Array, Array) #4 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/core/lib/Drupal/Core/Render/Renderer.php(582): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #5 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderin...(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #6 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderin...(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #7 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/vendor/symfony/http-kernel/HttpKernel.php(151): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #8 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #9 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #10 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/core/lib/Drupal/Core/StackMiddleware/KernelPreHand...(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #11 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/core/modules/page_cache/src/StackMiddleware/PageCa...(184): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #12 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/core/modules/page_cache/src/StackMiddleware/PageCa...(121): Drupal\page_cache\StackMiddleware\PageCache->fetch(Object(Symfony\Component\HttpFoundation\Request), 1, true) #13 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/core/modules/page_cache/src/StackMiddleware/PageCa...(75): Drupal\page_cache\StackMiddleware\PageCache->lookup(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/core/lib/Drupal/Core/StackMiddleware/ReverseProxyM...(47): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #16 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/core/lib/Drupal/Core/StackMiddleware/NegotiationMi...(50): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #17 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #18 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/core/lib/Drupal/Core/DrupalKernel.php(664): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /home/smsrv06/www/mypage.ch/www.mypage.ch/webroot/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #20 {main}.
Closed: outdated
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Hey, I'm closing this one as outdated, but if this is still an issue, please re-open it.
Thanks