Database Error

Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'є Ж.%' AND `Document`.`author_type` = 2) OR (`DocumentsCoauthor`.`name` LIKE '' at line 1

SQL Query: SELECT `Document`.`id`, `Document`.`name` FROM `fortecya`.`documents` AS `Document` LEFT JOIN `fortecya`.`documents_coauthors` AS `DocumentsCoauthor` ON (`Document`.`id` = `DocumentsCoauthor`.`document_id`) LEFT JOIN `fortecya`.`documents_persones` AS `DocumentsPersone` ON (`Document`.`id` = `DocumentsPersone`.`document_id`) WHERE ((`Document`.`author` LIKE '%Монгольф'є Ж.%' AND `Document`.`author_type` = 2) OR (`DocumentsCoauthor`.`name` LIKE '%Монгольф'є Ж.%') OR (`DocumentsPersone`.`name` LIKE '%Монгольф'є Ж.%'))

Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp

Stack Trace