I got a critical error message when testing a new extension. Any leads on how to fix the problem will be greatly appreciated. Here's a summary of the error message:
There has been a critical error processing your request
SQL Error: 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 '0 store_id = '0', store_name = 'Assistech', store_url = 'https' at line 2
Error No: 1064
SQL: INSERT INTO `ac_orders` SET 0 store_id = '0', store_name = 'Assistech', store_url = '
https://assistech.com/up127/', customer_id = '0', customer_group_id = '1', firstname = 'Oliver', lastname = 'Simoes', email = 'ollie@assistech.com', telephone = '15208838600', fax = '5208838600', total = '187.6167', language_id = '1', currency = 'USD', currency_id = '1', value = '1', coupon_id = '0', ip = '73.24.199.186', shipping_firstname = 'Oliver', shipping_lastname = 'Simoes', shipping_company = '', shipping_address_1 = '1234 Main Street', shipping_address_2 = '', shipping_city = 'Tucson', shipping_postcode = '85721', shipping_zone = 'Arizona', shipping_zone_id = '3616', shipping_country = 'United States', shipping_country_id = '223', shipping_address_format = '{firstname} {lastname}\r\n{company}\r\n{address_1}\r\n{address_2}\r\n{city}, {zone} {postcode}\r\n{country}', shipping_method = 'Priority Mail 1-Day', payment_firstname = 'Oliver', payment_lastname = 'Simoes', payment_company = '', payment_address_1 = '1234 Main Street', payment_address_2 = '', payment_city = 'Tucson', payment_postcode = '85721', payment_zone = 'Arizona', payment_zone_id = '3616', payment_country = 'United States', payment_country_id = '223', payment_address_format = '{firstname} {lastname}\r\n{company}\r\n{address_1}\r\n{address_2}\r\n{city}, {zone} {postcode}\r\n{country}', payment_method = 'Credit Card / Debit Card (Authorize.Net)', comment = '', date_modified = NOW(), date_added = NOW() in /home/assistec/public_html/xx/core/database/amysqli.php on line 106