ERROR (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 'A=0'' at line 1
Array
(
[0] => Array
(
[file] => /home/philgo/www/class/mysqli/mysqli.php
[line] => 289
[function] => check_error
[class] => DB
[object] => DB Object
(
[affected_rows] => -1
[client_info] => mysqlnd 7.4.1
[client_version] => 70401
[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 'A=0'' 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 'A=0'' at line 1
)
)
[field_count] => 4
[host_info] => 167.99.77.189 via TCP/IP
[info] =>
[insert_id] => 0
[server_info] => 5.5.5-10.3.13-MariaDB-log
[server_version] => 100313
[sqlstate] => 42000
[protocol_version] => 10
[thread_id] => 1852995
[warning_count] => 0
)
[type] => ->
[args] => Array
(
)
)
[1] => Array
(
[file] => /home/philgo/www/class/log/log.php
[line] => 89
[function] => _result
[class] => DB
[object] => DB Object
(
[affected_rows] => -1
[client_info] => mysqlnd 7.4.1
[client_version] => 70401
[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 'A=0'' 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 'A=0'' at line 1
)
)
[field_count] => 4
[host_info] => 167.99.77.189 via TCP/IP
[info] =>
[insert_id] => 0
[server_info] => 5.5.5-10.3.13-MariaDB-log
[server_version] => 100313
[sqlstate] => 42000
[protocol_version] => 10
[thread_id] => 1852995
[warning_count] => 0
)
[type] => ->
[args] => Array
(
[0] => SELECT SUM(`view`) FROM sf_log_view WHERE ymd=20240328 AND code='post_freetalk'A=0'
)
)
[2] => Array
(
[file] => /home/philgo/www/theme/philgo/left.stat.php
[line] => 14
[function] => stat_view
[class] => log
[object] => log Object
(
)
[type] => ->
[args] => Array
(
[0] => Array
(
[ymd] => 20240328
[code] => post_freetalk'A=0
)
)
)
[3] => Array
(
[file] => /home/philgo/www/theme/philgo/left.php
[line] => 137
[args] => Array
(
[0] => /home/philgo/www/theme/philgo/left.stat.php
)
[function] => include
)
[4] => Array
(
[file] => /home/philgo/www/theme/philgo/layout.php
[line] => 150
[args] => Array
(
[0] => /home/philgo/www/theme/philgo/left.php
)
[function] => include
)
[5] => Array
(
[file] => /home/philgo/www/etc/load_theme.php
[line] => 15
[args] => Array
(
[0] => /home/philgo/www/theme/philgo/layout.php
)
[function] => include
)
[6] => Array
(
[file] => /home/philgo/www/index.php
[line] => 92
[args] => Array
(
[0] => /home/philgo/www/etc/load_theme.php
)
[function] => include
)
)