Turn editing on turns menus off

Turn editing on turns menus off

by Steve Blackwell -
Number of replies: 3

I have upgraded from Moodle 3.7 to Moodle 3.8+ (Build: 20191212). We are running the Classic theme. When a teacher or administrator turns editing on in a course, the header menu items no longer drop down and the edit links beside each activity or resource do not drop down but take the user to the top of the page. On turning editing off the header menu functions again. This occurs when using Chrome and Firefox but Microsoft's Edge and Internet Explorer are working. I have tried Boost and Clean themes and clearing the cache. We are running on a Windows server with:
mysql 5.6.22
php 7.2.7

Any and all help appreciated 😃


Average of ratings: -
In reply to Steve Blackwell

Re: Turn editing on turns menus off

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

"I have tried Boost and Clean themes"

...so what happened when you did?

Is this one particular course or all courses?

As it sounds like a javascript error of some description, open your web browser's Javascript Console, reproduce the error and check for (red) error messages.


Average of ratings: Useful (1)
In reply to Howard Miller

Re: Turn editing on turns menus off

by Steve Blackwell -
G'day Howard. Thank you for your reply. The problem continued in all themes and all courses. Your suggestion to check the broswer's javascript console showed an error "Mismatched anonymous define() module" which in turn led me to look at the Sharing Cart plugin. If I disable that plugin the problem vanishes. Turn the plugin back on and the problem is back. I'll have a closer look at the plugin because it is widely used by teachers, especially at the beginning of the school year. I'd like to find a fix for the plugin rather than remove it if I can.

I have found that it is a known issue with Sharing Cart and Moodle 3.8. A temporary fix is to turn off javascript caching (Site Administration > Appearance > AJAX and Javascript). Not the best solution but it will suffice for the moment.

Thank you for your help.
Average of ratings: Useful (2)