Problem/Motivation
When I go to Reviews page from the Modal, I receive the error:
The website encountered an unexpected error. Please try again later.
Error: Call to undefined method Drupal\Core\Language\Language::getTitle() in Drupal\ik_modals\Controller\ModalController->revisionOverview() (line 113 of modules/contrib/ik_modals/src/Controller/ModalController.php).
I'm using Drupal 9.2.0 version, but I notice that it's a problem in 9.1.6 and 8.9.13 versions.
Steps to reproduce
Install the module
If you use the Drupal 9.2.0 version, apply the patch from this issue and create a new Modal
Else, just create a new Modal
Go to Revisions page.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #2
larisse commentedI created a patch and it work for me.
Comment #3
larisse commentedComment #4
rosemaryreilmanThanks @larisse! I'll hopefully be able to review this week!
Comment #5
rosemaryreilmanThanks @larisse!! Will be porting this patch. Reviewed with latest D9 and D8!
Comment #7
rosemaryreilmanPatch applied to v. 3.0.5.
Comment #8
rosemaryreilmanComment #9
larisse commentedThank you @rosemarystanley! =)