- 🇳🇱Netherlands jazzper
I noticed a reference to the paragraphs module in the error. After uninstalling the paragraphs module I could add content again. So I guess the problem is using this module on a paragraph with an image field.
This is with Drupal 9.5.4 and Paragraphs 8.x-1.15.
FYI, if anyone reverted back to beta5, make sure to update your module config so that you don't have the security vulnerability that was fixed in beta6.
- Status changed to Postponed: needs info
6 months ago 6:59pm 14 May 2024 - 🇳🇱Netherlands jazzper
Sorry, I uninstalled the module because of this issue. Atm I have no time to install the dev version. Maybe I have time later on
- 🇳🇱Netherlands jazzper
@solideogloria I installed the dev module and the site still breaks when I try to add content. I get a different error now:
The website encountered an unexpected error. Try again later. AssertionError: "Geolocation" must be defined in MODULE_NAME.field_type_categories.yml in assert() (line 186 of core/lib/Drupal/Core/Field/FieldTypePluginManager.php). Drupal\Core\Field\FieldTypePluginManager->getGroupedDefinitions(Array, 'label', 'id') (Line: 155) Drupal\field_ui\Form\FieldStorageAddForm->buildForm(Array, Object, 'node', 'article') call_user_func_array(Array, Array) (Line: 536) Drupal\Core\Form\FormBuilder->retrieveForm('field_ui_field_storage_add_form', Object) (Line: 283) Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73) Drupal\Core\Controller\FormController->getContentResult(Object, Object) call_user_func_array(Array, Array) (Line: 123) Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627) 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: 181) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) 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: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->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: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
When I uninstall the paragraphs module, the error goes away, and I can add content again. Without the File (Field) Paths module my website is working. I couldn't find the settings for this module when I went to the image field on a content type or paragraph, so I didn't configure the module. Also, the module doesn't show up on the update page (/admin/reports/updates).
We are not using filefield_paths module in our site, but still we are having the same issue. We are not able to add a new field, we ahve tried it in drupal 10.2.x as well as 10.3.x