Zend_Db_Statement_Exception Object
(
    [_previous:Zend_Exception:private] => 
    [message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '3-214' for key 'UNQ_EAV_ENTITY_ATTRIBUTE_ATTRIBUTE_SET_ID_ATTRIBUTE_ID'
    [string:Exception:private] => 
    [code:protected] => 23000
    [file:protected] => /home/nginx/html/lib/Zend/Db/Statement/Pdo.php
    [line:protected] => 234
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/nginx/html/lib/Varien/Db/Statement/Pdo/Mysql.php
                    [line] => 110
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 3
                                    [1] => 3
                                    [2] => 3
                                    [3] => 214
                                    [4] => 1000
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/nginx/html/app/code/core/Zend/Db/Statement.php
                    [line] => 291
                    [function] => _execute
                    [class] => Varien_Db_Statement_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 3
                                    [1] => 3
                                    [2] => 3
                                    [3] => 214
                                    [4] => 1000
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /home/nginx/html/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 480
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 3
                                    [1] => 3
                                    [2] => 3
                                    [3] => 214
                                    [4] => 1000
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /home/nginx/html/lib/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES (?, ?, ?, ?, ?)
                            [1] => Array
                                (
                                    [0] => 3
                                    [1] => 3
                                    [2] => 3
                                    [3] => 214
                                    [4] => 1000
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /home/nginx/html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 428
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES (?, ?, ?, ?, ?)
                            [1] => Array
                                (
                                    [0] => 3
                                    [1] => 3
                                    [2] => 3
                                    [3] => 214
                                    [4] => 1000
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /home/nginx/html/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 576
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES (?, ?, ?, ?, ?)
                            [1] => Array
                                (
                                    [0] => 3
                                    [1] => 3
                                    [2] => 3
                                    [3] => 214
                                    [4] => 1000
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /home/nginx/html/app/code/core/Mage/Eav/Model/Entity/Setup.php
                    [line] => 1063
                    [function] => insert
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => eav_entity_attribute
                            [1] => Array
                                (
                                    [entity_type_id] => 3
                                    [attribute_set_id] => 3
                                    [attribute_group_id] => 3
                                    [attribute_id] => 214
                                    [sort_order] => 1000
                                )

                        )

                )

            [7] => Array
                (
                    [file] => /home/nginx/html/app/code/core/Mage/Eav/Model/Entity/Setup.php
                    [line] => 677
                    [function] => addAttributeToSet
                    [class] => Mage_Eav_Model_Entity_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 3
                            [1] => 3
                            [2] => General
                            [3] => top_banner
                            [4] => 
                        )

                )

            [8] => Array
                (
                    [file] => /home/nginx/html/app/code/community/Turnkeye/Changes/sql/turnkeye_changes_setup/mysql4-upgrade-1.0.7-1.0.8.php
                    [line] => 20
                    [function] => addAttribute
                    [class] => Mage_Eav_Model_Entity_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => catalog_category
                            [1] => top_banner
                            [2] => Array
                                (
                                    [type] => int
                                    [label] => CMS block for top banner
                                    [input] => select
                                    [source] => catalog/category_attribute_source_page
                                    [global] => 0
                                    [visible] => 1
                                    [required] => 
                                    [group] => General
                                )

                        )

                )

            [9] => Array
                (
                    [file] => /home/nginx/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 624
                    [args] => Array
                        (
                            [0] => /home/nginx/html/app/code/community/Turnkeye/Changes/sql/turnkeye_changes_setup/mysql4-upgrade-1.0.7-1.0.8.php
                        )

                    [function] => include
                )

            [10] => Array
                (
                    [file] => /home/nginx/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 437
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => upgrade
                            [1] => 1.0.7
                            [2] => 1.0.8
                        )

                )

            [11] => Array
                (
                    [file] => /home/nginx/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 320
                    [function] => _upgradeResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1.0.7
                            [1] => 1.0.8
                        )

                )

            [12] => Array
                (
                    [file] => /home/nginx/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 235
                    [function] => applyUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [13] => Array
                (
                    [file] => /home/nginx/html/app/code/core/Mage/Core/Model/App.php
                    [line] => 417
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [14] => Array
                (
                    [file] => /home/nginx/html/app/code/core/Mage/Core/Model/App.php
                    [line] => 343
                    [function] => _initModules
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [15] => Array
                (
                    [file] => /home/nginx/html/app/Mage.php
                    [line] => 684
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [scope_code] => default
                                    [scope_type] => store
                                    [options] => Array
                                        (
                                        )

                                )

                        )

                )

            [16] => Array
                (
                    [file] => /home/nginx/html/index.php
                    [line] => 87
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => default
                            [1] => store
                        )

                )

        )

    [previous:Exception:private] => PDOException Object
        (
            [message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '3-214' for key 'UNQ_EAV_ENTITY_ATTRIBUTE_ATTRIBUTE_SET_ID_ATTRIBUTE_ID'
            [string:Exception:private] => 
            [code:protected] => 23000
            [file:protected] => /home/nginx/html/lib/Zend/Db/Statement/Pdo.php
            [line:protected] => 228
            [trace:Exception:private] => Array
                (
                    [0] => Array
                        (
                            [file] => /home/nginx/html/lib/Zend/Db/Statement/Pdo.php
                            [line] => 228
                            [function] => execute
                            [class] => PDOStatement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                            [2] => 3
                                            [3] => 214
                                            [4] => 1000
                                        )

                                )

                        )

                    [1] => Array
                        (
                            [file] => /home/nginx/html/lib/Varien/Db/Statement/Pdo/Mysql.php
                            [line] => 110
                            [function] => _execute
                            [class] => Zend_Db_Statement_Pdo
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                            [2] => 3
                                            [3] => 214
                                            [4] => 1000
                                        )

                                )

                        )

                    [2] => Array
                        (
                            [file] => /home/nginx/html/app/code/core/Zend/Db/Statement.php
                            [line] => 291
                            [function] => _execute
                            [class] => Varien_Db_Statement_Pdo_Mysql
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                            [2] => 3
                                            [3] => 214
                                            [4] => 1000
                                        )

                                )

                        )

                    [3] => Array
                        (
                            [file] => /home/nginx/html/lib/Zend/Db/Adapter/Abstract.php
                            [line] => 480
                            [function] => execute
                            [class] => Zend_Db_Statement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                            [2] => 3
                                            [3] => 214
                                            [4] => 1000
                                        )

                                )

                        )

                    [4] => Array
                        (
                            [file] => /home/nginx/html/lib/Zend/Db/Adapter/Pdo/Abstract.php
                            [line] => 238
                            [function] => query
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => INSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES (?, ?, ?, ?, ?)
                                    [1] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                            [2] => 3
                                            [3] => 214
                                            [4] => 1000
                                        )

                                )

                        )

                    [5] => Array
                        (
                            [file] => /home/nginx/html/lib/Varien/Db/Adapter/Pdo/Mysql.php
                            [line] => 428
                            [function] => query
                            [class] => Zend_Db_Adapter_Pdo_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => INSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES (?, ?, ?, ?, ?)
                                    [1] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                            [2] => 3
                                            [3] => 214
                                            [4] => 1000
                                        )

                                )

                        )

                    [6] => Array
                        (
                            [file] => /home/nginx/html/lib/Zend/Db/Adapter/Abstract.php
                            [line] => 576
                            [function] => query
                            [class] => Varien_Db_Adapter_Pdo_Mysql
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => INSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES (?, ?, ?, ?, ?)
                                    [1] => Array
                                        (
                                            [0] => 3
                                            [1] => 3
                                            [2] => 3
                                            [3] => 214
                                            [4] => 1000
                                        )

                                )

                        )

                    [7] => Array
                        (
                            [file] => /home/nginx/html/app/code/core/Mage/Eav/Model/Entity/Setup.php
                            [line] => 1063
                            [function] => insert
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => eav_entity_attribute
                                    [1] => Array
                                        (
                                            [entity_type_id] => 3
                                            [attribute_set_id] => 3
                                            [attribute_group_id] => 3
                                            [attribute_id] => 214
                                            [sort_order] => 1000
                                        )

                                )

                        )

                    [8] => Array
                        (
                            [file] => /home/nginx/html/app/code/core/Mage/Eav/Model/Entity/Setup.php
                            [line] => 677
                            [function] => addAttributeToSet
                            [class] => Mage_Eav_Model_Entity_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => 3
                                    [1] => 3
                                    [2] => General
                                    [3] => top_banner
                                    [4] => 
                                )

                        )

                    [9] => Array
                        (
                            [file] => /home/nginx/html/app/code/community/Turnkeye/Changes/sql/turnkeye_changes_setup/mysql4-upgrade-1.0.7-1.0.8.php
                            [line] => 20
                            [function] => addAttribute
                            [class] => Mage_Eav_Model_Entity_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => catalog_category
                                    [1] => top_banner
                                    [2] => Array
                                        (
                                            [type] => int
                                            [label] => CMS block for top banner
                                            [input] => select
                                            [source] => catalog/category_attribute_source_page
                                            [global] => 0
                                            [visible] => 1
                                            [required] => 
                                            [group] => General
                                        )

                                )

                        )

                    [10] => Array
                        (
                            [file] => /home/nginx/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 624
                            [args] => Array
                                (
                                    [0] => /home/nginx/html/app/code/community/Turnkeye/Changes/sql/turnkeye_changes_setup/mysql4-upgrade-1.0.7-1.0.8.php
                                )

                            [function] => include
                        )

                    [11] => Array
                        (
                            [file] => /home/nginx/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 437
                            [function] => _modifyResourceDb
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => upgrade
                                    [1] => 1.0.7
                                    [2] => 1.0.8
                                )

                        )

                    [12] => Array
                        (
                            [file] => /home/nginx/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 320
                            [function] => _upgradeResourceDb
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => 1.0.7
                                    [1] => 1.0.8
                                )

                        )

                    [13] => Array
                        (
                            [file] => /home/nginx/html/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 235
                            [function] => applyUpdates
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [14] => Array
                        (
                            [file] => /home/nginx/html/app/code/core/Mage/Core/Model/App.php
                            [line] => 417
                            [function] => applyAllUpdates
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ::
                            [args] => Array
                                (
                                )

                        )

                    [15] => Array
                        (
                            [file] => /home/nginx/html/app/code/core/Mage/Core/Model/App.php
                            [line] => 343
                            [function] => _initModules
                            [class] => Mage_Core_Model_App
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [16] => Array
                        (
                            [file] => /home/nginx/html/app/Mage.php
                            [line] => 684
                            [function] => run
                            [class] => Mage_Core_Model_App
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [scope_code] => default
                                            [scope_type] => store
                                            [options] => Array
                                                (
                                                )

                                        )

                                )

                        )

                    [17] => Array
                        (
                            [file] => /home/nginx/html/index.php
                            [line] => 87
                            [function] => run
                            [class] => Mage
                            [type] => ::
                            [args] => Array
                                (
                                    [0] => default
                                    [1] => store
                                )

                        )

                )

            [previous:Exception:private] => 
            [errorInfo] => Array
                (
                    [0] => 23000
                    [1] => 1062
                    [2] => Duplicate entry '3-214' for key 'UNQ_EAV_ENTITY_ATTRIBUTE_ATTRIBUTE_SET_ID_ATTRIBUTE_ID'
                )

        )

)