When I access the profile page or the dashboard menu, there was an error following:
Error
Exception - Call to undefined method IntlCalendar::setGregorianChange()
Debug info:
Error code: generalexceptionmessage
Error code: generalexceptionmessage
Stack trace:
When searching for the solution, I found one of the posts that said that my regional format is not supported (I use Thai) but when I changed it to English(US), nothing happened.- line 805 of \lib\classes\date.php: Error thrown
- line 906 of \lib\classes\date.php: call to core_date::{closure}()
- line ? of unknownfile: call to core_date::{closure}()
- line 887 of \lib\classes\date.php: call to preg_replace_callback()
- line 2390 of \lib\moodlelib.php: call to core_date::strftime()
- line 327 of \calendar\type\gregorian\classes\structure.php: call to date_format_string()
- line 2331 of \lib\moodlelib.php: call to calendartype_gregorian\structure->timestamp_to_date_string()
- line 271 of \calendar\classes\external\day_exporter.php: call to userdate()
- line 186 of \calendar\classes\external\day_exporter.php: call to core_calendar\external\day_exporter->get_view_link_title()
- line 103 of \calendar\classes\external\week_day_exporter.php: call to core_calendar\external\day_exporter->get_other_values()
- line 121 of \lib\classes\external\exporter.php: call to core_calendar\external\week_day_exporter->get_other_values()
- line 164 of \calendar\classes\external\week_exporter.php: call to core\external\exporter->export()
- line 121 of \lib\classes\external\exporter.php: call to core_calendar\external\week_exporter->get_other_values()
- line 337 of \calendar\classes\external\month_exporter.php: call to core\external\exporter->export()
- line 243 of \calendar\classes\external\month_exporter.php: call to core_calendar\external\month_exporter->get_weeks()
- line 121 of \lib\classes\external\exporter.php: call to core_calendar\external\month_exporter->get_other_values()
- line 3571 of \calendar\lib.php: call to core\external\exporter->export()
- line 57 of \blocks\calendar_month\block_calendar_month.php: call to calendar_get_view()
- line 337 of \blocks\moodleblock.class.php: call to block_calendar_month->get_content()
- line 231 of \blocks\moodleblock.class.php: call to block_base->formatted_contents()
- line 1231 of \lib\blocklib.php: call to block_base->get_content_for_output()
- line 1289 of \lib\blocklib.php: call to block_manager->create_block_contents()
- line 698 of \lib\outputrenderers.php: call to block_manager->ensure_content_created()
- line 219 of \lib\mustache\src\Mustache\Context.php: call to core_renderer->standard_head_html()
- line 138 of \lib\mustache\src\Mustache\Context.php: call to Mustache_Context->findVariableInStack()
- line 31 of D:\Resources\localcache\mustache\1705574319\boost\__Mustache_73560842f9d6c5bc337558df4f13b989.php: call to Mustache_Context->findDot()
- line 13 of D:\Resources\localcache\mustache\1705574319\boost\__Mustache_4aa1b29b14b62e9eb02cc88038b79589.php: call to __Mustache_73560842f9d6c5bc337558df4f13b989->renderInternal()
- line 66 of \lib\mustache\src\Mustache\Template.php: call to __Mustache_4aa1b29b14b62e9eb02cc88038b79589->renderInternal()
- line 208 of \lib\outputrenderers.php: call to Mustache_Template->render()
- line 107 of \theme\boost\layout\drawers.php: call to renderer_base->render_from_template()
- line 1486 of \lib\outputrenderers.php: call to include()
- line 1412 of \lib\outputrenderers.php: call to core_renderer->render_page_layout()
- line 179 of \my\index.php: call to core_renderer->header()
Could you please help where should I do with this case? Thank you in advance.
Server Detail
OS: Windows Server 2019
Hosted on XAMPP with Apache 2.4.58, PHP 8.2.12,

