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` = 1) OR (`Document`.`or' at line 1

SQL Query: SELECT `Document`.`id`, `Document`.`name` FROM `fortecya`.`documents` AS `Document` LEFT JOIN `fortecya`.`documents_orgcoauthors` AS `DocumentsOrgcoauthor` ON (`Document`.`id` = `DocumentsOrgcoauthor`.`document_id`) LEFT JOIN `fortecya`.`documents_kworganizations` AS `DocumentsKworganization` ON (`Document`.`id` = `DocumentsKworganization`.`document_id`) WHERE ((`Document`.`author` LIKE '%Міжнародна морська організація Об'єднаних Націй%' AND `Document`.`author_type` = 1) OR (`Document`.`organization_name` LIKE '%Міжнародна морська організація Об'єднаних Націй%') OR (`DocumentsOrgcoauthor`.`name` LIKE '%Міжнародна морська організація Об'єднаних Націй%') OR (`DocumentsKworganization`.`name` LIKE '%Міжнародна морська організація Об'єднаних Націй%'))

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

Stack Trace