PHP Fatal Error | undefined method Drupal\Core\Extension\ModuleHandler::getImplementations()

Created on 16 December 2022, over 1 year ago
Updated 12 January 2024, 6 months ago

Problem/Motivation

Getting following error

Error: Call to undefined method Drupal\Core\Extension\ModuleHandler::getImplementations() in Drupal\rate\RateWidgetForm->form() (line 109 of /app/modules/contrib/rate/src/RateWidgetForm.php).

Drupal Version: 10.0.x
Rate Module version: 3.0.x
PHP: 8.1

Steps to reproduce

  • Install Drupal 10 site.
  • install Rate module with composer require 'drupal/rate:^3.0' command.
  • Go to /admin/structure/rate_widgets
  • Click Add rate widget button.

Proposed resolution

Need to use ModuleHandlerInterface::invokeAllWith()

Change Record Link

๐Ÿ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia samit.310@gmail.com

Live updates comments and jobs are added and updated live.

Missing content requested by

๐Ÿ‡ฆ๐Ÿ‡บAustralia dpi
6 months ago
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024