TypeError: Drupal\flag\Plugin\ActionLink\AJAXactionLink::__construct(): Argument #5 ($csrfToken) must be of type Drupal\Core\Access\CsrfTokenGenerator, Symfony\Component\HttpFoundation\Request given

Created on 12 January 2024, 6 months ago
Updated 15 January 2024, 6 months ago

Problem/Motivation

TypeError: Drupal\flag\Plugin\ActionLink\AJAXactionLink::__construct(): Argument #5 ($csrfToken) must be of type Drupal\Core\Access\CsrfTokenGenerator, Symfony\Component\HttpFoundation\Request given, called in /var/www/html/web/modules/contrib/flag/modules/flag_count/src/Plugin/ActionLink/CountLink.php on line 58 in Drupal\flag\Plugin\ActionLink\AJAXactionLink->__construct() (line 49 of modules/contrib/flag/src/Plugin/ActionLink/AJAXactionLink.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: won't fix

Version

4.0

Component

Flag core

Created by

πŸ‡§πŸ‡ΎBelarus alexdoma

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

Comments & Activities

Production build 0.69.0 2024