Problem/Motivation

 PHP Deprecated: Drupal\content_moderation\Plugin\Action\ModerationStateChange::execute(): Implicitly marking parameter $entity as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/docroot/core/modules/content_moderation/src/Plugin/Action/ModerationStateChange.php on line 208
PHP Deprecated: Drupal\content_moderation\Plugin\Action\ModerationStateChange::access(): Implicitly marking parameter $account as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/docroot/core/modules/content_moderation/src/Plugin/Action/ModerationStateChange.php on line 252

Steps to reproduce

  • Install and enable php 8.4
  • Visit node page

Issue fork drupal-3595746

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

suryabhi created an issue. See original summary.

suryabhi’s picture

Version: 11.3.x-dev » main
suryabhi’s picture

Version: main » 11.3.x-dev
cilefen’s picture

Status: Active » Postponed (maintainer needs more info)

core/modules/content_moderation/src/Plugin/Action/ModerationStateChange.php isn't in Drupal. Is it from a patch?