- Issue created by @arousseau
- Assigned to sourabhsisodia_
Heyy @arousseau I am not getting nay error , the module is working fine for me.
- Issue was unassigned.
- π«π·France arousseau
Hello @sourabhsisodia_ thank you for your answer.
I am able to reproduce this warning, using a "simply test me" install.
Core version is 10.2.4 and Smart Trim is 2.1.1.You can go to the default /admin/structure/types/manage/article/display page, select the Smart Trim formatter for the body field and click on the cog to access the settings. The settings form displays fine, but a warning is logged in the recent log messages.
Warning: Undefined array key "#type" in Drupal\Core\Form\FormHelper::processStates() (line 211 of /var/lib/tugboat/stm/web/core/lib/Drupal/Core/Form/FormHelper.php)
- First commit to issue fork.
- Status changed to Needs review
23 days ago 4:21pm 3 June 2024 - πΊπΈUnited States markie Albuquerque, NM
Thank you for the great reproduction steps.
Added the '#type' key to the token_browser build area. Also discussed this in https://www.drupal.org/project/drupal/issues/2700667 π Notice: Undefined index: #type in Drupal\Core\Form\FormHelper::processStates() Needs work since it is a core issue. Since '#theme' is set, there's no real reason to need '#type'...