-
Bug
-
Resolution: Fixed
-
Minor
-
3.7
-
MOODLE_37_STABLE
-
MOODLE_36_STABLE, MOODLE_37_STABLE
-
MDL-66354-master -
We are using custom event types in Workplace for Programs and Certifications and we are getting notices in error.log about missing icons (It seems that mustache template gets the icons directly with the eventtype name).
[Wed Jul 17 22:48:36.587676 2019] [php7:notice] [pid 43831] [client 127.0.0.1:63264] Default exception handler: Exception - Warning: fopen([localcachedir]/theme/1563391899/workplace/pix/core/i/tool_certification2event.error): failed to open stream: No such file or directory in [dirroot]/theme/image.php on line 168 Debug: \nError code: generalexceptionmessage\n* line 158 of /lib/behat/lib.php: Exception thrown\n* line ? of unknownfile: call to behat_error_handler()\n* line 168 of /theme/image.php: call to fopen()\n, referer: http://127.0.0.1/workplace/calendar/view.php?view=day&course=1&time=1564602516 |
|
One way to test it would be to change the ‘eventtype’ value directly in database in mdl_event table. Just create one 'User' type event and look for the event in db and eventtype should be = ‘user’. Modify it manually to ‘tool_certification1’ and save it. After that go to Calendar and then check error.log and you should see the message above.
- has been marked as being related by
-
MDL-65699 Check if string exists to avoid 'invalid get_string() identifier' msg when using calendar events in non modules
- Closed