- Issue created by @wrd-oaitsd
Go to File /modules/contrib/tvi/src/EventSubscriber/RouteSubscriber.php and just add : array in 34 line
It should be
public static function getSubscribedEvents() : array {
Test with D10 - works good
- Status changed to Fixed
almost 2 years ago 12:25am 24 January 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
over 1 year ago 5:50am 3 March 2023 - 🇺🇸United States Igbonine
Did not work for me on drupal 10.
Here is my error message;
[Thu Mar 02 14:03:14.920093 2023] [fcgid:warn] [pid 47185:tid
3606329603840] [client 66.33.200.4:26881] mod_fcgid: stderr: PHP Fatal
error: Declaration of
Drupal\\monster_menus\\Routing\\RouteSubscriber::getSubscribedEvents()
must be compatible with
Drupal\\Core\\Routing\\RouteSubscriberBase::getSubscribedEvents(): array
in
/home/nzuko/nzukoanambra.org/modules/monster_menus/src/Routing/RouteSubscriber.php
on line 30 - 🇸🇮Slovenia KlemenDEV
A patch for those who prefer to use patch instead of dev version
- 🇧🇪Belgium gillesbailleux La Roche-en-Ardenne
@klemendev: it would be indeed very nice to have a 2.0.0-alpha2 release with your working patch. Hopefully @mikeohara will commit it, or another maintainer. Much respect for your time maintaining this very useful module.