Tygh\Exceptions\AException

Message

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 'dispatch=sg_solr_products.get_products&lang_code=en&items_per_page=12&page=1&...' at line 1 (1064)

INSERT INTO cscart_logs (`user_id`, `timestamp`, `type`, `action`, `event_type`, `content`, `backtrace`, `company_id`) VALUES (0, 1772273458, 'requests', 'http', 'N', 'a:3:{s:3:"url";s:34:"https://dev.ecartify.com/index.php";s:7:"request";s:215:"'dispatch=sg_solr_products.get_products&lang_code=en&items_per_page=12&page=1&sort_by=product&sort_order=asc&category_ids=248&company_ids%5B0%5D=1&company_ids%5B1%5D=2&company_ids%5B2%5D=5&access_key=test-zaid_core'";s:8:"response";s:1565:"{"status":"success","data":{"products":[{"id":"248","product_id":248,"price":372.27,"list_price":0,"amount":0,"weight":3.62,"status":"A","product_code":"31","company_id":5,"category_ids":[255,248],"main_category":248,"average_rating":4.33,"reviews_count":3,"timestamp":1411934400,"updated_timestamp":1765354892,"product_type":"P","shipping_freight":10,"sales_amount":0,"length":0,"width":0,"height":0,"popularity":0,"min_qty":0,"max_qty":0,"qty_step":0,"free_shipping":"Y","attr_18":"136","attr_23":"139","attr_21":"137","attr_29":"144","attr_28":"143","attr_26":"141","attr_25":"140","attr_27":"142","attr_36":"155","attr_35":"154","attr_32":"149","attr_31":"147","attr_42":"158","attr_45":"161","attr_44":"160","attr_43":"159","product_ar":"X-Box One","full_description_ar":"Xbox One's exterior casing consists of a two-tone \"liquid black\" finish; with half finished in a matte grey, and the other in a glossier black. The design was intended to evoke a more entertainment-oriented and simplified look than previous iterations of the console; among other changes.It is powered by an AMD \"Jaguar\" Accelerated Processing Unit (APU) with two quad-core modules totaling eight x86-64 cores clocked at 1.75 GHz, and 8 GB of DDR3 RAM with a memory bandwidth of 68.3 GB\/s. The memory subsystem also features an additional 32 MB of \"embedded static\" RAM, or ESRAM, with a memory bandwidth of 109 GB\/s.","product":"X-Box One","product_str":"X-Box One","_version_":1851185690303266816,"score":1}],"search":{"numFound":1,"start":0,"maxScore":1,"numFoundExact":true}}}";}', '', 0)

Error at

app/Tygh/Database/Connection.php, line: 1713

Backtrace

File:app/Tygh/Database/Connection.php
Line:1490
Function:throwError
File:app/Tygh/Database/Connection.php
Line:700
Function:execQuery
File:app/functions/fn.database.php
Line:138
Function:query
File:app/controllers/common/debugger.php
Line:63
Function:db_query
File:app/functions/fn.control.php
Line:729
Function:include
File:app/functions/fn.control.php
Line:460
Function:fn_run_controller
File:index.php
Line:19
Function:fn_dispatch