-
Bug
-
Resolution: Fixed
-
Minor
-
2.3.6, 2.4.3, 2.5
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE
-
wip-
MDL-39432-m25 -
-
Easy
-
To reproduce:
- Enable eAccelerator.
- Log in as an admin.
- Browse to a course and turn on editing.
Fatal error: Invalid opcode 153/1/8. in /var/www/integration/course/renderer.php on line 203
Call Stack
- Time Memory Function Location
1 0.0009 760928Unknown macro: {main}( ) ../view.php:0
2 1.4550 76235776 require( '/var/www/integration/course/format/topics/format.php' ) ../view.php:276
3 1.4568 76241192 format_section_renderer_base->print_multiple_section_page( ) ../format.php:56
4 1.4705 76246064 core_course_renderer->course_section_add_cm_control( ) ../renderer.php:724
5 1.5501 83682312 core_course_renderer->course_modchooser( ) ../renderer.php:456
There are a couple of closure style anonymous functions within course/renderer.php.
This issue was noticed with the use of closures within the lti module as per MDL-36060.
Dan has created MDL-39430 to decide the future for us supporting for eAccelerator however for the time being it is probably worth just quickly converting these to lambda style anonymous functions.
Many thanks
Sam
- has a non-specific relationship to
-
MDL-39467 Do not use inline function in lib/coursecatlib.php
-
- Closed
-
- has been marked as being related by
-
MDL-36060 mod/lti brings Invalid opcode 153/1/8 with eaccelerator
-
- Closed
-
- will be (partly) resolved by
-
MDL-39430 We should discourage/drop support for eaccelerator
-
- Closed
-