I am trying to upgrade an old site which was handed to me for maintenance. It's running on Moodle 2.5 (Ubu 12.04), and I am trying to get it running on Moodle 3.1 LTS (Rhel 7).
I migrated the course to Rhel 7, and have it running under Moodle 2.5. I haven't been able to get the site to work under Moodle 2.7.20, a stepping stone to Moodle 3.1 LTS.
I discovered during this process that there was some custom php code to implement site-specific APIs which won't apply to the greater Moodle community. It took me a while and many emails to people who are not longer here to understand that this was custom code, non-standard plugins.
The showstopper at this point is this error: Coding error detected, it must be fixed by a programmer: Missing YUI3 module details.
The specific line from the traceback reads:
Stack trace: (first two lines below)
line 786 of /lib/outputrequirementslib.php: coding_exception thrown
line 269 of /blocks/news/block_news.php: call to page_requirements_manager->js_module ()
I believe that the error is line 269 (shown below):
I can't find anything called core_dock.js, Searching moodle.net has not led me any further down the path towards absolute zen.
How do I fix that particular line?