Апрель, 2023
*
mysqli Object
(
[affected_rows] => -1
[client_info] => mysqlnd 7.4.33
[client_version] => 70433
[connect_errno] => 0
[connect_error] =>
[errno] => 1064
[error] => 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 amo_content.status = 1 AND amo_content.parent_id = 0 ORDER BY amo_con...' at line 1
[error_list] => Array
(
[0] => Array
(
[errno] => 1064
[sqlstate] => 42000
[error] => 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 amo_content.status = 1 AND amo_content.parent_id = 0 ORDER BY amo_con...' at line 1
)
)
[field_count] => 2
[host_info] => Localhost via UNIX socket
[info] =>
[insert_id] => 0
[server_info] => 5.5.5-10.11.8-MariaDB-ubu2204
[server_version] => 101108
[sqlstate] => 42000
[protocol_version] => 10
[thread_id] => 231604
[warning_count] => 0
)
SELECT DISTINCT amo_content.id as ids FROM amo_content LEFT JOIN amo_content_link ON amo_content_link.elem = amo_content.id WHERE 1 AND amo_content.parent_id = '0' AND amo_content_link.section IN () AND amo_content.status = 1 AND amo_content.parent_id = 0 ORDER BY amo_content.ordered ASC, amo_content.id ASC