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.
Issue fork language_switcher_browser-3387229
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
eugen zerrHi!
I added the sanity check :)
Thx 4 your contribution!
Greetings