Closed rohit1290 closed 1 month ago
This problem is not caused by the event manager plugin. Another plugin is returning an array in the 'register', 'menu:site'
event.
Event manager is only being strict about the return type (MenuItems class). $event->getValue()
is not what we expect. If you disable the event manager you should be able to inspect which plugins have registered for this event (with the developer tools -> inspect events). One of these plugins is returning an array instead of a MenuItems
Elgg version v6.0.1
Plugin version v19.0
Plugin source
Describe the bug Installed a fresh copy of elgg 6.0.1, install a fresh copy of event_manager v19.0. After activating the plugin, go to the activity page or blog page, etc. Getting the following error: