User Error
PDOException Object ( [message:protected] => 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 status=1 and time_begin<=1731001845 and time_end >=1731001845 and objec...' at line 1 [string:Exception:private] => [code:protected] => 42000 [file:protected] => /home/medmall/domains/medmall.vn/public_html/vendor/vinades/nukeviet/Core/Database.php [line:protected] => 562 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/medmall/domains/medmall.vn/public_html/vendor/vinades/nukeviet/Core/Database.php [line] => 562 [function] => prepare [class] => PDO [type] => -> [args] => Array ( [0] => SELECT COUNT(*) FROM medmall_home.tms_vi_retails_voucher WHERE id IN (SELECT voucher_id FROM medmall_home.tms_vi_retails_voucher_user where userid=) AND status=1 and time_begin<=1731001845 and time_end >=1731001845 and object_type=0 [1] => Array ( ) ) ) [1] => Array ( [file] => /home/medmall/domains/medmall.vn/public_html/modules/retails/funcs/listvouchered.php [line] => 32 [function] => prepare [class] => NukeViet\Core\Database [type] => -> [args] => Array ( [0] => SELECT COUNT(*) FROM medmall_home.tms_vi_retails_voucher WHERE id IN (SELECT voucher_id FROM medmall_home.tms_vi_retails_voucher_user where userid=) AND status=1 and time_begin<=1731001845 and time_end >=1731001845 and object_type=0 ) ) [2] => Array ( [file] => /home/medmall/domains/medmall.vn/public_html/index.php [line] => 403 [args] => Array ( [0] => /home/medmall/domains/medmall.vn/public_html/modules/retails/funcs/listvouchered.php ) [function] => require ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 42000 [1] => 1064 [2] => 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 status=1 and time_begin<=1731001845 and time_end >=1731001845 and objec...' at line 1 ) )
(Code: 0969f0a2bdf1f8750cff2fe1fa900aa5)
If you have any questions about this site,
please contact the site administrator for more information