- 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.
- Merge request !933451530: Adding '#type' to token_browser field build β (Merged) created by markie
- Status changed to Needs review
8 months 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'...
- First commit to issue fork.
-
ultimike β
committed 251c7afd on 2.x authored by
markie β
Issue #3451530 by markie, arousseau: Warning: Undefined array key "#type...
-
ultimike β
committed 251c7afd on 2.x authored by
markie β
- Status changed to Fixed
6 months ago 6:11pm 4 August 2024 Automatically closed - issue fixed for 2 weeks with no activity.