Closed (fixed)
Project:
JSON Field Utils
Version:
1.1.0-alpha3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Jul 2023 at 18:08 UTC
Updated:
24 Mar 2026 at 13:30 UTC
Jump to comment: Most recent
When I create a node (in Drupal 10.0.0) that is using a custom component (created with JFU) on a field and this field has read-only permissions set with the Field Permissions module (https://www.drupal.org/project/field_permissions) , it returns a blank page when i save the node.
I have debug mode enabled so I can see the error attached here.
El sitio web encontró un error inesperado. Vuelva a intentarlo más tarde.
Error: Cannot use object of type Drupal\Core\StringTranslation\TranslatableMarkup as array in jfu_proccess_inline_image() (line 358 of modules/contrib/jfu/jfu.module).
call_user_func_array() (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 595)
Drupal\Core\Form\FormBuilder->processForm() (Line: 323)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 48)
Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 391)
Drupal\group\Entity\Controller\GroupRelationshipController->createForm()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 163)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 74)
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: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 675)
Drupal\Core\DrupalKernel->handle() (Line: 19)
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot from 2023-07-13 12-45-55.png | 306.49 KB | kamel_araujo |
Comments
Comment #2
kamel_araujo commentedComment #3
davidcr commentedComment #5
davidcr commented