Database error: 145 : Table './penielcl_DATA/cscart_product_descriptions' is marked as crashed and should be repaired
Invalid query: SELECT cscart_product_descriptions.product_id, cscart_product_descriptions.product, SUM(cscart_product_sales.amount) as amount FROM cscart_product_sales LEFT JOIN cscart_product_descriptions ON cscart_product_descriptions.product_id=cscart_product_sales.product_id AND cscart_product_descriptions.lang_code='ES' INNER JOIN cscart_products ON cscart_products.product_id=cscart_product_descriptions.product_id AND cscart_products.avail IN ('Y') WHERE 1 AND cscart_product_sales.category_id IN ('312') GROUP BY cscart_product_sales.product_id ORDER BY amount DESC, cscart_product_descriptions.product ASC LIMIT 10


Backtrace:
File:/home/penielcl/public_html/index.php
Line:39
Function:include
File:/home/penielcl/public_html/include/common/customer_common.php
Line:36
Function:include
File:/home/penielcl/public_html/include/common/categories.php
Line:60
Function:include
File:/home/penielcl/public_html/core/include_addons.php
Line:48
Function:include
File:/home/penielcl/public_html/addons/bestsellers/include/common/categories.php
Line:38
Function:fn_get_bestsellers
File:/home/penielcl/public_html/addons/bestsellers/func.php
Line:105
Function:db_get_array
File:/home/penielcl/public_html/core/fn_database.php
Line:42
Function:db_query
File:/home/penielcl/public_html/core/db_mysql.php
Line:92
Function:db_debug_error