Something went wrong
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 'LIMIT 1' at line 3 in /var/www/grintz2/develop/pawtucket2/app/lib/Db/mysqli.php line 316:
  1. In Db_mysqli->execute(Object DbStatement, Object DbStatement, ' SELECT order_id FROM mk_orders WHERE order_status = 1 AND user_id_fk = LIMIT 1', Array(0), ) in DbStatement line 151
  2. At DbStatement->executeWithParamsAsArray(Array(0)) in Db line 261
  3. At Db->query(' SELECT order_id FROM mk_orders WHERE order_status = 1 AND user_id_fk = LIMIT 1') in mk_order line 172
  4. At Mk_order::getDraftOrderForUser() in CartController line 48
  5. At CartController->Index() in RequestDispatcher line 273
  6. At RequestDispatcher->dispatch(Array(2)) in AppController line 113
  7. At AppController->dispatch(true) in index line 126
Request parameters: