string(513) "select product_code, product_name, official_url, theater_url, case when ((ticket_st_time is null or ticket_st_time <= '2025-07-11 08:28:05') and (ticket_ed_time is null or ticket_ed_time > '2025-07-11 08:28:05')) then ticket_url else '' end as `ticket_url`, case when ((online_show_st_time is null or online_show_st_time <= '2025-07-11 08:28:05') and (online_show_ed_time is null or online_show_ed_time > '2025-07-11 08:28:05')) then online_show_url else '' end as `online_show_url` from M_PRODUCT_PUB where id = "
object(mysqli_sql_exception)#20 (8) {
["message":protected]=>
string(148) "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 '' at line 1"
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
int(1064)
["file":protected]=>
string(54) "/home/gaga/public_html/sitemanage/classes/Model/DB.php"
["line":protected]=>
int(28)
["trace":"Exception":private]=>
array(3) {
[0]=>
array(3) {
["file"]=>
string(54) "/home/gaga/public_html/sitemanage/classes/Model/DB.php"
["line"]=>
int(28)
["function"]=>
string(12) "mysqli_query"
}
[1]=>
array(5) {
["file"]=>
string(57) "/home/gaga/public_html/sitemanage/classes/Plugin/News.php"
["line"]=>
int(89)
["function"]=>
string(5) "query"
["class"]=>
string(8) "Model_DB"
["type"]=>
string(2) "->"
}
[2]=>
array(5) {
["file"]=>
string(41) "/home/gaga/public_html/pt/news/detail.php"
["line"]=>
int(95)
["function"]=>
string(14) "getDisplayData"
["class"]=>
string(11) "Plugin_News"
["type"]=>
string(2) "->"
}
}
["previous":"Exception":private]=>
NULL
["sqlstate":protected]=>
string(5) "42000"
}