Sorry, an unexpected error occured: Failed to execute SQL ' INSERT INTO `hook` (`id`, `code`, `type`, `by_module`, `block`, `native`, `activate`, `position`, `created_at`, `updated_at`) VALUES (@max_id+1, 'sale.top', 1, 0, 0, 1, 1, 1, NOW(), NOW()), (@max_id+2, 'sale.bottom', 1, 0, 0, 1, 1, 1, NOW(), NOW()), (@max_id+3, 'sale.main-top', 1, 0, 0, 1, 1, 1, NOW(), NOW()), (@max_id+4, 'sale.main-bottom', 1, 0, 0, 1, 1, 1, NOW(), NOW()), (@max_id+5, 'sale.content-top', 1, 0, 0, 1, 1, 1, NOW(), NOW()), (@max_id+6, 'sale.content-bottom', 1, 0, 0, 1, 1, 1, NOW(), NOW()), (@max_id+7, 'sale.stylesheet', 1, 0, 0, 1, 1, 1, NOW(), NOW()), (@max_id+8, 'sale.after-javascript-include', 1, 0, 0, 1, 1, 1, NOW(), NOW()), (@max_id+9, 'sale.javascript-initialization', 1, 0, 0, 1, 1, 1, NOW(), NOW()), (@max_id+10, 'account-order.invoice-address-bottom', 1, 1, 0, 1, 1, 1, NOW(), NOW()), (@max_id+11, 'account-order.delivery-address-bottom', 1, 1, 0, 1, 1, 1, NOW(), NOW()), (@max_id+12, 'newsletter-unsubscribe.top', 1, 0, 0, 1, 1, 1, NOW(), NOW()), (@max_id+13, 'newsletter-unsubscribe.bottom', 1, 0, 0, 1, 1, 1, NOW(), NOW()), (@max_id+14, 'newsletter-unsubscribe.stylesheet', 1, 0, 0, 1, 1, 1, NOW(), NOW()), (@max_id+15, 'newsletter-unsubscribe.after-javascript-include', 1, 0, 0, 1, 1, 1, NOW(), NOW()), (@max_id+16, 'newsletter-unsubscribe.javascript-initialization', 1, 0, 0, 1, 1, 1, NOW(), NOW()) ', arguments:Array ( ) , error:Array ( [0] => 23000 [1] => 1062 [2] => Duplicate entry 'sale.top-1' for key 'code_UNIQUE' )
Error details:
#0 /home/lavachesmj/web/install/updater.php(85): Thelia\Install\Update->process()
#1 {main}