这篇文章上次修改于 1034 天前,可能其部分内容已经发生变化,如有疑问可询问作者。 > drupal 拖动字段报错:PluginNotFoundException: The "hidden" plugin does not exist. 报错信息: ``` bash Drupal\Component\Plugin\Exception\PluginNotFoundException: The "hidden" plugin does not exist. Valid plugin IDs for Drupal\Core\Field\WidgetPluginManager are: comment_default, datetime_datelist, datetime_default, file_generic, image_image, link_default, path, text_textfield, text_textarea, text_textarea_with_summary, language_select, entity_reference_autocomplete_tags, number, email_default, options_buttons, string_textfield, uri, options_select, string_textarea, entity_reference_autocomplete, boolean_checkbox, datetime_timestamp in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of /volume1/web/wwwroot/dev/drupal9.3/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php). ``` ##### 这个是因为当前网速慢,拖动字段会触发ajax请求。而ajax请求没有加载完,你就点了保存,所以报错。 ##### 解决方案,等ajax加载完,字段右边的加载图标转完。
没有评论