Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.3.1
-
Component/s: Competencies
-
Testing Instructions:
-
Workaround:
-
Affected Branches:MOODLE_33_STABLE
-
Fixed Branches:MOODLE_33_STABLE, MOODLE_34_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-59970-master -
Pull Master Diff URL:
Description
We have a Memory error in the course competencies page:
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7 bytes) in /app/apache2/htdocs/moodle/lib/dml/mysqli_native_moodle_database.php on line 1188
|
The error is caused by a slow sql querie in the method get_least_proficient_competencies_for_course() in file:
/app/apache2/htdocs/moodle/competency/classes/user_competency_course.php
We are not able to reproduce easely for the moment. Some course have the problem, other, not.
Also, we have a huge Moodle environnement with many competencies. The tested course have no competencies.