Hi moodle experts,
I know this has reared its ugly head time and time again over the years. I actually had it with an earlier version of my plugin and it was due to me failing to adequately isolate jQuery and some conflict occuring. Someone please remind me why else it can happen.
The plugin is a block which acts as a remote repository for a group of colleges to share content and exactly 1 college is having an issue, which I can replicate. The site administration expander breaks when the plugin is installed with certain themes only on Moodle 3.5 (works on 3.1, 2, 3 4 and 6).
I do mean when the plugin is installed too, not when the block is added to a page. The block does not need to be added to the page, the plugin just needs to be installed for the site admin expander (and other 3rd level expanders) to fail to retrieve items all across the site.
Out of frustration today I started deleting files, bumping the version repeatedly, and removing all javascript from the plugin to try to identify where the issue is occuring. I was left with pretty much nothing but the shell of a block with no javascript, and only some text rendered in the block and the site admin expander was still failing to load.
Someone who has battled this before, or has any suggestion, please share your wisdom.
Thanks!
Oliver