Problem/Motivation

After updating to the latest version of the flag module on a Drupal 11.4.4 site, i get the following error message.

PHP Fatal error: Type of Drupal\flag_fse\Form\FlagFseConfirmForm::$flagService must be Drupal\flag\FlagService

Proposed resolution

  • set correct typing for flagService
  • Provide MR fixing the issue

Issue fork flag_fse-3615014

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

steffenr created an issue. See original summary.

steffenr’s picture

Status: Active » Needs review
johaziel’s picture

Status: Needs review » Fixed

Thanks @SteffenR for reporting and providing a fix. The same fatal error was fixed
in 1.0.x (commit 0e413c1) and released in 1.0.2. Marking as fixed, crediting you.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.