Mismatched entity and/or field definitions on Status report and unexpected error

Created on 27 March 2021, over 3 years ago
Updated 12 September 2023, 10 months ago

Problem/Motivation

In /admin/reports/status.

ENTITY/FIELD DEFINITIONS
Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Rate widget
The Rate widget entity type needs to be installed.
Vote
The Rate widget field needs to be installed.

and

In /node/{nid}/node-rating as Node Votes Tab.

The website encountered an unexpected error. Please try again later.
TypeError: Argument 1 passed to Drupal\rate\Controller\WidgetResultsController::__construct() must be an instance of Drupal\rate\Controller\EntityTypeManagerInterface, instance of Drupal\Core\Entity\EntityTypeManager given, called in /code/web/modules/contrib/rate/src/Controller/WidgetResultsController.php on line 37 in Drupal\rate\Controller\WidgetResultsController->__construct() (line 28 of modules/contrib/rate/src/Controller/WidgetResultsController.php).

Steps to reproduce

Updated from 1.0.0-alpha6 to 2.0.0-alpha1 with composer.
Ran composer require 'drupal/rate:^2.0@alpha'.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Thank you.

πŸ’¬ Support request
Status

Fixed

Component

Code

Created by

πŸ‡―πŸ‡΅Japan s-jack Tokyo

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024