Debug info: SQLState: IMSSP<br>
Error Code: -46<br>
Message: An error occurred translating the query string to UTF-16: No mapping for the Unicode character exists in the target multi-byte code page.
.<br>
SELECT c.* , ctx.id AS ctxid, ctx.path AS ctxpath, ctx.depth AS ctxdepth, ctx.contextlevel AS ctxlevel, ctx.instanceid AS ctxinstance, ctx.locked AS ctxlocked
FROM mdl_course c
LEFT JOIN mdl_context ctx ON (ctx.instanceid = c.id AND ctx.contextlevel = '50')
WHERE CAST(COALESCE(c.summary, '') AS NVARCHAR(255)) + CAST(' ' AS NVARCHAR(255)) + CAST(c.fullname AS NVARCHAR(255)) + CAST(' ' AS NVARCHAR(255)) + CAST(c.idnumber AS NVARCHAR(255)) + CAST(' ' AS NVARCHAR(255)) + CAST(c.shortname AS NVARCHAR(255)) COLLATE SQL_Latin1_General_CP1_CI_AS LIKE N'%វិទ្យាស្ថាន�%' ESCAPE '\' AND CAST(COALESCE(c.summary, '') AS NVARCHAR(255)) + CAST(' ' AS NVARCHAR(255)) + CAST(c.fullname AS NVARCHAR(255)) + CAST(' ' AS NVARCHAR(255)) + CAST(c.idnumber AS NVARCHAR(255)) + CAST(' ' AS NVARCHAR(255)) + CAST(c.shortname AS NVARCHAR(255)) COLLATE SQL_Latin1_General_CP1_CI_AS LIKE N'%ិរញវត្ថុនិងគណនេយ្យ%' ESCAPE '\' AND c.id <> 1
ORDER BY c.sortorder ASC
[array (
0 => 50,
1 => '%វិទ្យាស្ថាន�%',
2 => '%ិរញវត្ថុនិងគណនេយ្យ%',
)]
Error code: dmlreadexception
Error Code: -46<br>
Message: An error occurred translating the query string to UTF-16: No mapping for the Unicode character exists in the target multi-byte code page.
.<br>
SELECT c.* , ctx.id AS ctxid, ctx.path AS ctxpath, ctx.depth AS ctxdepth, ctx.contextlevel AS ctxlevel, ctx.instanceid AS ctxinstance, ctx.locked AS ctxlocked
FROM mdl_course c
LEFT JOIN mdl_context ctx ON (ctx.instanceid = c.id AND ctx.contextlevel = '50')
WHERE CAST(COALESCE(c.summary, '') AS NVARCHAR(255)) + CAST(' ' AS NVARCHAR(255)) + CAST(c.fullname AS NVARCHAR(255)) + CAST(' ' AS NVARCHAR(255)) + CAST(c.idnumber AS NVARCHAR(255)) + CAST(' ' AS NVARCHAR(255)) + CAST(c.shortname AS NVARCHAR(255)) COLLATE SQL_Latin1_General_CP1_CI_AS LIKE N'%វិទ្យាស្ថាន�%' ESCAPE '\' AND CAST(COALESCE(c.summary, '') AS NVARCHAR(255)) + CAST(' ' AS NVARCHAR(255)) + CAST(c.fullname AS NVARCHAR(255)) + CAST(' ' AS NVARCHAR(255)) + CAST(c.idnumber AS NVARCHAR(255)) + CAST(' ' AS NVARCHAR(255)) + CAST(c.shortname AS NVARCHAR(255)) COLLATE SQL_Latin1_General_CP1_CI_AS LIKE N'%ិរញវត្ថុនិងគណនេយ្យ%' ESCAPE '\' AND c.id <> 1
ORDER BY c.sortorder ASC
[array (
0 => 50,
1 => '%វិទ្យាស្ថាន�%',
2 => '%ិរញវត្ថុនិងគណនេយ្យ%',
)]
Error code: dmlreadexception
Stack trace:
- line 486 of \lib\dml\moodle_database.php: dml_read_exception thrown
- line 324 of \lib\dml\sqlsrv_native_moodle_database.php: call to moodle_database->query_end()
- line 431 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->query_end()
- line 900 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->do_query()
- line 781 of \lib\datalib.php: call to sqlsrv_native_moodle_database->get_recordset_sql()
- line 1630 of \course\classes\category.php: call to get_courses_search()
- line 1930 of \course\renderer.php: call to core_course_category::search_courses()
- line 111 of \course\search.php: call to core_course_renderer->search_courses()