rezaies / moodle-calendartype_hijri

0 stars 1 forks source link

Missing required key in single structure: year #2

Closed omerrkhalidd closed 3 years ago

omerrkhalidd commented 3 years ago

Hello i installed the hijri calendar with moodle 3.10 and the default boost theme and am getting this error

Missing required key in single structure: year Error code: invalidparameter

Screenshot_2021-01-09 Dashboard

rezaies commented 3 years ago

Thank you for reporting this issue. I have put this in the backlog.

rezaies commented 3 years ago

After further investigation, it turned out that the issue you are experiencing is because of a bug in the Moodle core. I have provided a fix for that at https://tracker.moodle.org/browse/MDL-70625. Hopefully, it will be integrated soon.

azmatksa commented 3 years ago

@rezaies I try to merge these changes but I still getting same error on 3.9, I'm using custom calendar plugin based on hijri calendar!

rezaies commented 3 years ago

Hi @azmatksa I don't know about your custom calendar plugin, but the new version of this plugin works well if the core bug I mentioned above is fixed, and it supports the Umm al-Qura calendar as well.