studioespresso / craft-navigate

Navigate makes adding and maintaining menu's and navigations a breeze. Set what types of links a menu may contain, make multi-level navigations, built-in active-state check, custom classes per item.
https://plugins.craftcms.com/navigate
Other
26 stars 7 forks source link

Runtime error after installing in Craft 4 #64

Closed robinbraibant closed 2 years ago

robinbraibant commented 2 years ago

After installing the plugin in Craft 4.0.2. you get following error when you click the Navigate menu item in the control panel.

Screenshot 2022-05-16 at 20 21 21

You are using craft.config.allowAdminChanges, but craft.config has been deprecated. The current implementation can be craft.app.config.general.allowAdminChanges. Current installed version of the plugin: 3.0.0

janhenckens commented 2 years ago

Thanks for reporting this @robinbraibant, fixed in 3.0.1.