| Type | php |
|---|---|
| Date | Wednesday, June 3, 2026 - 04:34 |
| User | Anonymous (not verified) |
| Location | https://sworks.cbs-execed-cms.dev.favish.com/zh-hans/node/316/translations/add |
| Referrer | |
| Message | TypeError: Drupal\content_translation\Controller\ContentTranslationController::add(): Argument #1 ($source) must be of type Drupal\Core\Language\LanguageInterface, null given in Drupal\content_translation\Controller\ContentTranslationController->add() (line 396 of /var/www/docroot/core/modules/content_translation/src/Controller/ContentTranslationController.php). |
| Severity | Error |
| Hostname | 10.36.10.11 |
| Operations | |
| Backtrace | #0 [internal function]: Drupal\content_translation\Controller\ContentTranslationController->add()
#1 /var/www/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#2 /var/www/docroot/core/lib/Drupal/Core/Render/Renderer.php(637): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#3 /var/www/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext()
#4 /var/www/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#5 /var/www/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#6 /var/www/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#7 /var/www/docroot/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
#8 /var/www/docroot/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#9 /var/www/docroot/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#10 /var/www/docroot/core/modules/page_cache/src/StackMiddleware/PageCache.php(201): Drupal\Core\StackMiddleware\ContentLength->handle()
#11 /var/www/docroot/core/modules/page_cache/src/StackMiddleware/PageCache.php(138): Drupal\page_cache\StackMiddleware\PageCache->fetch()
#12 /var/www/docroot/core/modules/page_cache/src/StackMiddleware/PageCache.php(87): Drupal\page_cache\StackMiddleware\PageCache->lookup()
#13 /var/www/vendor/asm89/stack-cors/src/Cors.php(53): Drupal\page_cache\StackMiddleware\PageCache->handle()
#14 /var/www/docroot/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Asm89\Stack\Cors->handle()
#15 /var/www/docroot/modules/custom/request_firewall/src/StackMiddleware/RequestFirewallMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#16 /var/www/docroot/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\request_firewall\StackMiddleware\RequestFirewallMiddleware->handle()
#17 /var/www/docroot/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#18 /var/www/docroot/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#19 /var/www/docroot/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#20 /var/www/docroot/index.php(19): Drupal\Core\DrupalKernel->handle()
#21 {main} |