Fix Fatal error after Drupal 10 upgrade with Total Control Admin Dashboard

Created on 15 June 2023, over 1 year ago
Updated 23 October 2023, about 1 year ago

Problem/Motivation

After updating to Drupal 10, the following error is thrown:
PHP Fatal error: Declaration of Drupal\total_control\Routing\RouteSubscriber::getSubscribedEvents() must be compatible with Drupal\Core\Routing\RouteSubscriberBase::getSubscribedEvents(): array in /var/www/html/web/modules/contrib/total_control/src/Routing/RouteSubscriber.php on line 26

Proposed resolution

  • Add : array to be compatible with RouteSubscriberBase

Remaining tasks

  • ✅ File an issue
  • ✅ Addition/Change/Update/Fix
  • ✅ Testing to ensure no regression
  • ✅ Automated unit testing coverage
  • ✅ Automated functional testing coverage
  • ➖ UX/UI designer responsibilities
  • ➖ Readability
  • ➖ Accessibility
  • ➖ Performance
  • ➖ Security
  • ➖ Documentation
  • ✅ Code review by maintainers
  • ✅ Full testing and approval
  • ✅ Credit contributors
  • ✅ Review with the product owner
  • ✅ Release notes snippet
  • ✅ Release total_control-3.0.4

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3366999 by mrcdrx : Fixed Fatal error after Drupal 10 upgrade with Total Control Admin Dashboard
🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇳🇱Netherlands mrcdrx

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

Comments & Activities

Production build 0.71.5 2024