Closed (fixed)
Project:
Custom Elements
Version:
3.3.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Dec 2025 at 10:31 UTC
Updated:
19 Dec 2025 at 15:09 UTC
Jump to comment: Most recent
On some production sites, I git this fatal error when rendering previews:
TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid
callback, no array or string given in call_user_func_array() (Zeile 72 in
/app/web/core/modules/field_ui/src/Element/FieldUiTable.php)
#0 /app/web/core/modules/field_ui/src/Element/FieldUiTable.php(72): call_user_func_array()
#1 [internal function]: Drupal\field_ui\Element\FieldUiTable::tablePreRender()
#2 /app/web/core/lib/Drupal/Core/Security/DoTrustedCallbackTrait.php(107): call_user_func_array()
#3 /app/web/core/lib/Drupal/Core/Render/Renderer.php(876):
Drupal\Core\Render\Renderer->doTrustedCallback()
#4 /app/web/core/lib/Drupal/Core/Render/Renderer.php(438):
Drupal\Core\Render\Renderer->doCallback()
#5 /app/web/core/lib/Drupal/Core/Render/Renderer.php(250):
Drupal\Core\Render\Renderer->doRender()Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
fagoComment #4
fagoturns out there is more from the field UI js logic left-over that causes this. Seems like that is all not needed in our form, since related to region handling. So getting rid of this, this seems to make it work in this complex case + generally.
Comment #6
fago