Moodle doesn’t expand items under Blocks Menu

Probably this may happen after a migration or after some changes or creating a new instance. Usually this may be related to some javascript conflict or folders permission.

To reset folders permission (on a Linux environment), execute the following two commands.

find dev -type d -exec chmod 775 {} \;
find dev -type f -exec chmod 644 {} \;

After both commands are executed, refresh your browser and it should work.