we are using moddle2.3. Now we are thinking to upgrade our moodle to 2.7. But when we try to upgrade, error is howing in one of our custom block because of page->requires->manager->js_module('core_dock').
Error: Coding error detected, it must be fixed by a programmer: Missing YUI3 module details.
Is there any solution for that?
Off the top of my head, that should probably be:
I would suggest that you either ask the developer who originally wrote the block to review it and upgrade it to work in M2.7, or pay for a Moodle developer to review and upgrade the code.
Thanks for your reply. but it doesn't work.
OK, maybe it would help if you explained 'it doesn't work' a bit more. Did the error message go away when you changed the line of code to the one I suggested? Did a different error appear instead? Is there now no error message, but something else doesn't work?
Or, did you take my suggestion of contacting the original developer, and that is what didn't work?
It's solved. Reason behind was bespoke plugin.