SELECT last_ofs_date, ofs_days FROM stock WHERE id=
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1UPDATE stock SET inventory=0, last_ofs_date='2025-12-13', last_inventory_sync='2025-12-13 09:53:15' WHERE id=
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5