PDOException Object
(
    [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name 'UNQ_CATEGORY_PRODUCT'
    [string:private] => 
    [code:protected] => 42000
    [file:protected] => /var/www/vhosts/shubee.com/html/lib/Varien/Db/Adapter/Pdo/Mysql.php
    [line:protected] => 207
    [trace:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/vhosts/shubee.com/html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 207
                    [function] => query
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE `catalog_category_product_index` ADD UNIQUE `UNQ_CATEGORY_PRODUCT` (`category_id`,`product_id`,`is_parent`,`store_id`)
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/vhosts/shubee.com/html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 631
                    [function] => raw_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE `catalog_category_product_index` ADD UNIQUE `UNQ_CATEGORY_PRODUCT` (`category_id`,`product_id`,`is_parent`,`store_id`)
                        )

                )

            [2] => Array
                (
                    [file] => /var/www/vhosts/shubee.com/html/app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.56-0.7.57.php
                    [line] => 64
                    [function] => addKey
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => catalog_category_product_index
                            [1] => UNQ_CATEGORY_PRODUCT
                            [2] => Array
                                (
                                    [0] => category_id
                                    [1] => product_id
                                    [2] => is_parent
                                    [3] => store_id
                                )

                            [3] => unique
                        )

                )

            [3] => Array
                (
                    [file] => /var/www/vhosts/shubee.com/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 269
                    [args] => Array
                        (
                            [0] => /var/www/vhosts/shubee.com/html/app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.56-0.7.57.php
                        )

                    [function] => include
                )

            [4] => Array
                (
                    [file] => /var/www/vhosts/shubee.com/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 179
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => upgrade
                            [1] => 0.7.56
                            [2] => 0.7.57
                        )

                )

            [5] => Array
                (
                    [file] => /var/www/vhosts/shubee.com/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 146
                    [function] => _upgradeResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 0.7.56
                            [1] => 0.7.57
                        )

                )

            [6] => Array
                (
                    [file] => /var/www/vhosts/shubee.com/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 121
                    [function] => applyUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [7] => Array
                (
                    [file] => /var/www/vhosts/shubee.com/html/app/code/core/Mage/Core/Model/Config.php
                    [line] => 215
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [8] => Array
                (
                    [file] => /var/www/vhosts/shubee.com/html/app/code/core/Mage/Core/Model/App.php
                    [line] => 241
                    [function] => init
                    [class] => Mage_Core_Model_Config
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [9] => Array
                (
                    [file] => /var/www/vhosts/shubee.com/html/app/Mage.php
                    [line] => 427
                    [function] => init
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                            [2] => Array
                                (
                                )

                        )

                )

            [10] => Array
                (
                    [file] => /var/www/vhosts/shubee.com/html/app/Mage.php
                    [line] => 446
                    [function] => app
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                            [2] => Array
                                (
                                )

                        )

                )

            [11] => Array
                (
                    [file] => /var/www/vhosts/shubee.com/html/index.php
                    [line] => 52
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

        )

    [errorInfo] => Array
        (
            [0] => 42000
            [1] => 1061
            [2] => Duplicate key name 'UNQ_CATEGORY_PRODUCT'
        )

)