Tygh\Exceptions\AException

Message

Index for table './mrtho_db/apollo_product_popularity.MYI' is corrupt; try to repair it (126)

INSERT INTO apollo_product_popularity (`product_id`, `viewed`, `total`) VALUES (287, 1, 3) ON DUPLICATE KEY UPDATE viewed = viewed + 1, total = total + 3

Error at

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

Backtrace

File:app/Tygh/Database/Connection.php
Line:500
Function:throwError
File:app/functions/fn.database.php
Line:133
Function:query
File:app/controllers/frontend/products.php
Line:275
Function:db_query
File:app/controllers/frontend/products.php
Line:172
Function:fn_set_product_popularity
File:app/functions/fn.control.php
Line:669
Function:include
File:app/functions/fn.control.php
Line:427
Function:fn_run_controller
File:index.php
Line:25
Function:fn_dispatch