Error on revision pages

Created on 14 September 2023, about 1 year ago

Problem/Motivation

Got error 'PHP message: Error: Call to a member function getEntityTypeId() on string in /jails/site50019/var/www/public/drupal/modules/contrib/language_switcher_browser/src/EventSubscriber/LanguageRedirectionSubscriber.php on line 104 #0 [internal function]: Drupal\language_switcher_browser\EventSubscriber\LanguageRedirectionSubscriber->onRequest()

Steps to reproduce

Actually if you visit an node revision page. The routematch node parameter is a string. This causes the error.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇩🇪Germany eugen zerr

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

Comments & Activities

Production build 0.71.5 2024