【发布时间】:2022-01-07 12:53:55
【问题描述】:
我的自定义 API 工作正常,我已经在 staging Server 上部署了代码,但我遇到了以下错误。
Drupal\Component\Plugin\Exception\PluginNotFoundException:“”插件不存在。 Drupal\rest\Plugin\Type\ResourcePluginManager 的有效插件 ID 为:dblog、file:upload、entity:block、entity:block_content_type、entity:block_content、entity:comment、entity:comment_type、entity:config_pages_type、entity:config_pages、entity :contact_form, entity:contact_message, entity:editor, entity:field_config, entity:field_storage_config, entity:file, entity:filter_format, entity:flagging, entity:flag, entity:google_api_service_client, entity:google_api_client, entity:image_style, entity:menu_link_content , entity:node, entity:node_type, entity:page_variant, entity:page, entity:path_alias, entity:rdf_mapping, entity:rest_resource_config, entity:search_api_task, entity:search_api_server, entity:search_api_index, entity:search_api_autocomplete_search, entity:shortcut_set, entity :shortcut, entity:social_auth, entity:menu, entity:action, entity:taxonomy_term, entity:taxonomy_vocabulary, entity:tour, entity:ultimate_cron_job, entity:user, entity:user_role, entity:webform_options, ent ity:webform, entity:webform_submission, entity:webform_access_group, entity:webform_access_type, entity:webform_image_select_images, entity:webform_options_custom, entity:view, entity:paragraph, entity:paragraphs_type, entity:base_field_override, entity:entity_view_display, entity:entity_view_mode, entity: entity_form_mode, entity:entity_form_display, entity:date_format, user_registration in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (/home1/tourcode/public_html/''/web/core/lib/Drupal/Component/Plugin/的第53行发现/DiscoveryTrait.php)
提前致谢。
【问题讨论】:
标签: drupal-8