The "node_publish_action" plugin does not exist.

Created on 19 June 2025, about 2 months ago

I realize that this issue has been addressed in prior versions. I'm using 2.2.1, and getting the following

when I use drush scheduler:cron:

 The "node_publish_action" plugin does not exist. Valid plugin IDs for Drupal\Core\Action\ActionManager are:  
   node_unpublish_by_keyword_action, comment_unpublish_by_keyword_action, node_assign_owner_action, email_reg  
  istration_update_username, entity_print_download_action, flag_delete_flagging, flag_action:bookmark_flag, f  
  lag_action:bookmark_unflag, flag_action:selected_coach_flag, flag_action:selected_coach_unflag, node_make_s  
  ticky_action, node_unpromote_action, node_make_unsticky_action, node_promote_action, redirect_delete_action  
  , user_unblock_user_action, user_remove_role_action, user_add_role_action, user_block_user_action, user_can  
  cel_user_action, views_bulk_operations_delete_entity, vbo_cancel_user_action, webform_delete_action, webfor  
  m_submission_make_unsticky_action, webform_submission_make_unlock_action, webform_submission_make_lock_acti  
  on, webform_submission_make_sticky_action, webform_open_action, webform_archive_action, webform_unarchive_a  
  ction, webform_close_action, webform_submission_delete_action, pathauto_update_alias, entity:save_action:bl  
  ock_content, entity:save_action:comment, entity:save_action:config_pages, entity:save_action:file, entity:s  
  ave_action:media, entity:save_action:node, entity:save_action:taxonomy_term, entity:save_action:user, entit  
  y:save_action:menu_link_content, action_goto_action, entity:delete_action:comment, entity:delete_action:med  
  ia, entity:delete_action:node, entity:delete_action:webform, entity:publish_action:block_content, entity:pu  
  blish_action:comment, entity:publish_action:media, entity:publish_action:node, entity:publish_action:path_a  
  lias, entity:publish_action:taxonomy_term, entity:publish_action:menu_link_content, entity:publish_action:p  
  aragraph, entity:unpublish_action:block_content, entity:unpublish_action:comment, entity:unpublish_action:m  
  edia, entity:unpublish_action:node, entity:unpublish_action:path_alias, entity:unpublish_action:taxonomy_te  
  rm, entity:unpublish_action:menu_link_content, entity:unpublish_action:paragraph, action_send_email_action,  
   action_message_action 
πŸ› Bug report
Status

Active

Version

2.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States stephenplatz Greenbank, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @stephenplatz
  • πŸ‡¬πŸ‡§United Kingdom jonathan1055

    That's interesting. Some module must be deleting the core node_publish_action action. I see in your log there is entity:publish_action:node but I don't know if that is a replacement for node_publish_action or whether we could use that if the original action is not present.

    1. Do you get the same error when you run cron via the site UI, and via a cron timed job?

    2. Can you try to find out which 3rd-party module is doing this? Maybe start by listing your other modules and on a test site uninstall them one by one until the error goes away. Or alternatively, start with a clean dev site, and add your modules one at a time until the error starts happening.

  • πŸ‡¬πŸ‡§United Kingdom jonathan1055

    Actually we already cater for when the core actions do not exist. Can you give more of the log, to show where that error is coming from?

Production build 0.71.5 2024