Error on install with core content_translation

Created on 26 May 2023, about 1 year ago

Problem/Motivation

I completely uninstalled 3 and my docs.
I have no documents uploaded at the moment.

I clear my cache and got a WSOD dealing with content_translation and entity_legal.

Please view error log

The website encountered an unexpected error. Please try again later.
TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in array_key_exists() (line 270 of core/modules/content_translation/src/ContentTranslationHandler.php).
array_key_exists('status', ) (Line: 270)
Drupal\content_translation\ContentTranslationHandler->checkFieldStorageDefinitionTranslatability('status') (Line: 234)
Drupal\content_translation\ContentTranslationHandler->hasPublishedStatus() (Line: 184)
Drupal\content_translation\ContentTranslationHandler->getFieldDefinitions() (Line: 273)
content_translation_entity_base_field_info(Object) (Line: 291)
Drupal\Core\Entity\EntityFieldManager->Drupal\Core\Entity\{closure}(Object, 'content_translation') (Line: 405)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('entity_base_field_info', Object) (Line: 302)
Drupal\Core\Entity\EntityFieldManager->buildBaseFieldDefinitions('entity_legal_document_version') (Line: 196)
Drupal\Core\Entity\EntityFieldManager->getBaseFieldDefinitions('entity_legal_document_version') (Line: 520)
Drupal\Core\Entity\EntityFieldManager->getFieldMap() (Line: 562)
Drupal\Core\Entity\EntityFieldManager->getFieldMapByFieldType('comment') (Line: 114)
Drupal\comment\CommentManager->getFields('user') (Line: 277)
comment_entity_storage_load(Array, 'user') (Line: 867)
Drupal\Core\Entity\ContentEntityStorageBase->Drupal\Core\Entity\{closure}(Object, 'comment') (Line: 405)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('entity_storage_load', Object) (Line: 868)
Drupal\Core\Entity\ContentEntityStorageBase->invokeStorageLoadHook(Array) (Line: 394)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->doLoadMultiple(Array) (Line: 346)
Drupal\Core\Entity\EntityStorageBase->loadMultiple(Array) (Line: 296)
Drupal\Core\Entity\EntityStorageBase->load('2') (Line: 488)
Drupal\Core\Entity\EntityBase::load('2') (Line: 103)
Drupal\social_event\EventEnrollmentStatusHelper->userEnrollments('2', NULL) (Line: 153)
Drupal\social_event\EventEnrollmentStatusHelper->getAllUserEventEnrollments('2') (Line: 84)
Drupal\social_core\InviteService->getInviteData() (Line: 122)
Drupal\social_core\EventSubscriber\SocialInviteSubscriber->notifyAboutPendingInvitations(Object, 'kernel.request', Object)
call_user_func(Array, Object, 'kernel.request', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.request') (Line: 145)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 54)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 43)
Drupal\webform_product\RedirectMiddleware->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 728)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States SocialNicheGuru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024