- 🇮🇳India dineshkumarbollu
Hi
I tested the module in my local
URL(/admin/structure/types/add)
is working fine. I am attching screenshot of it.
Thanks
Whenever I try to access this URL(/admin/structure/types/add) to add new content type, I am getting following error:
Error: Call to a member function getTargetBundle() on null in entity_draft_entity_edit_form_alter() (line 133 of modules/contrib/entity_draft/entity_draft.module).
entity_draft_entity_edit_form_alter() (Line: 123)
entity_draft_form_alter() (Line: 562)
Drupal\Core\Extension\ModuleHandler->alter() (Line: 835)
Drupal\Core\Form\FormBuilder->prepareForm() (Line: 279)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 564)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 159)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 709)
Drupal\Core\DrupalKernel->handle() (Line: 19)
Drupal version: 9.4.8
Module version: 2.0.5
Needs review
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Hi
I tested the module in my local URL(/admin/structure/types/add)
is working fine. I am attching screenshot of it.
Thanks