Undefined array key "#access"

Created on 2 June 2023, almost 2 years ago

Problem/Motivation

I have this error when I try to create a content configured with the module

 Warning: Undefined array key "#access" in language_form_alter() (line 370 of core/modules/language/language.module).

language_form_alter(Array, Object, 'video_request_nueva_solicitud_form') (Line: 562)
Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object, 'video_request_nueva_solicitud_form') (Line: 840)
Drupal\Core\Form\FormBuilder->prepareForm('video_request_nueva_solicitud_form', Array, Object) (Line: 284)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 370)
Drupal\form_mode_manager\AbstractEntityFormModesFactory->getForm(Object, 'fmm_nueva_solicitud') (Line: 202)
Drupal\form_mode_manager\AbstractEntityFormModesFactory->entityAdd(Object) (Line: 206)
Drupal\form_mode_manager\Controller\FormModeManagerEntityController->getEntityControllerResponse('entityAdd', Object) (Line: 163)
Drupal\form_mode_manager\Controller\FormModeManagerEntityController->entityAdd(Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->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: 50)
Drupal\ban\BanMiddleware->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: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Steps to reproduce

Configure a content to be created with this module
Try to create something and you will see the error

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada adriancid Montreal, Canada

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

Comments & Activities

Production build 0.71.5 2024