500:Internal Server Error

Internal Server Error

SQLException:200:クエリー「SELECT DISTINCT a.* FROM prdct_products a, (SELECT DISTINCT b.shop_id, b.category_code,c.product_id, b.item_order FROM prdct_categories b, prdct_product_categories c WHERE c.category_code = b.category_code AND c.shop_id = b.shop_id AND c.shop_id = 'S00073' AND b.enabled = 't') AS b WHERE a.product_id = b.product_id AND a.shop_id = b.shop_id AND b.shop_id = 'S00073' AND (a.password = '' AND a.password IS NOT NULL) AND (a.start_date = 0 OR a.start_date <= 1576335600) AND (a.end_date = 0 OR a.end_date >= 1576335600) AND a.status <> 3 ORDER BY a.price∨der=DESC DESC LIMIT 24 OFFSET 0」の実行に失敗しました。[ERROR: syntax error at or near "DESC" 行 1: ...576335600) AND a.status <> 3 ORDER BY a.price∨der=DESC DESC ... ^]

#0 /home/sites/okinawaya.co.jp/system/include/database/Database.php(299): Statement->execute(Array)
#1 /home/sites/okinawaya.co.jp/modules/shop/GEM-INF/include/taglib/ShopProductsTag.php(1136): Database->query('SELECT DISTINCT...', Array)
#2 /home/sites/okinawaya.co.jp/system/include/taglib/Tag.php(83): ShopProductsTag->render(NULL)
#3 /home/sites/okinawaya.co.jp/modules/shop/GEM-INF/taglib/function.shop_products.php(7): Tag->execute()
#4 /home/sites/okinawaya.co.jp/system/template_c/user_page_pc_default_S00073^%%31^31F^31F7C6E0%%prdct_list.tpl.php(8): smarty_function_shop_products(Array, Object(Smarty))
#5 /home/sites/okinawaya.co.jp/system/smarty/Smarty.class.php(1265): include('/home/sites/oki...')
#6 /home/sites/okinawaya.co.jp/system/include/template/Template.php(230): Smarty->fetch('prdct_list.tpl', NULL, NULL, false)
#7 /home/sites/okinawaya.co.jp/system/include/kernel/BasicAction.php(303): Template->fetch('prdct_list.tpl')
#8 /home/sites/okinawaya.co.jp/system/include/kernel/BasicAction.php(383): BasicAction->render('prdct_list')
#9 /home/sites/okinawaya.co.jp/web/.index.php(136): BasicAction->run()
#10 /home/sites/okinawaya.co.jp/system/include/kernel/Application.php(343): UserModule->execute()
#11 /home/sites/okinawaya.co.jp/web/.index.php(144): Application->run()
#12 {main}