PDOException Object
(
    [message:protected] => SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'discount_details'
    [string:Exception:private] => 
    [code:protected] => 42S21
    [file:protected] => /var/www/incubatorwarehouse_prod/lib/Zend/Db/Statement/Pdo.php
    [line:protected] => 228
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/lib/Zend/Db/Statement/Pdo.php
                    [line] => 228
                    [function] => execute
                    [class] => PDOStatement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/lib/Varien/Db/Statement/Pdo/Mysql.php
                    [line] => 110
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/app/code/core/Zend/Db/Statement.php
                    [line] => 291
                    [function] => _execute
                    [class] => Varien_Db_Statement_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 480
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/lib/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE `m2epro_amazon_order_item` ADD COLUMN `discount_details` text DEFAULT NULL AFTER `tax_details` 
                            [1] => Array
                                (
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 428
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE `m2epro_amazon_order_item` ADD COLUMN `discount_details` text DEFAULT NULL AFTER `tax_details` 
                            [1] => Array
                                (
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 347
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE `m2epro_amazon_order_item` ADD COLUMN `discount_details` text DEFAULT NULL AFTER `tax_details` 
                        )

                )

            [7] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 848
                    [function] => raw_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE `m2epro_amazon_order_item` ADD COLUMN `discount_details` text DEFAULT NULL AFTER `tax_details` 
                        )

                )

            [8] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/app/code/community/Ess/M2ePro/sql/M2ePro_setup/mysql4-upgrade-6.1.6-6.1.7.php
                    [line] => 287
                    [function] => addColumn
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => m2epro_amazon_order_item
                            [1] => discount_details
                            [2] => text DEFAULT NULL AFTER `tax_details`
                        )

                )

            [9] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 624
                    [args] => Array
                        (
                            [0] => /var/www/incubatorwarehouse_prod/app/code/community/Ess/M2ePro/sql/M2ePro_setup/mysql4-upgrade-6.1.6-6.1.7.php
                        )

                    [function] => include
                )

            [10] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/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] => 6.1.6
                            [2] => 6.2.0
                        )

                )

            [11] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/app/code/community/Ess/M2ePro/Model/Upgrade/MySqlSetup.php
                    [line] => 64
                    [function] => _upgradeResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 6.1.6
                            [1] => 6.2.0
                        )

                )

            [12] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 320
                    [function] => _upgradeResourceDb
                    [class] => Ess_M2ePro_Model_Upgrade_MySqlSetup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 6.1.6
                            [1] => 6.2.0
                        )

                )

            [13] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/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] => /var/www/incubatorwarehouse_prod/app/code/core/Mage/Core/Model/App.php
                    [line] => 417
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

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

                )

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

                                )

                        )

                )

            [17] => Array
                (
                    [file] => /var/www/incubatorwarehouse_prod/index.php
                    [line] => 87
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 42S21
            [1] => 1060
            [2] => Duplicate column name 'discount_details'
        )

    [xdebug_message] => ( ! ) PDOException: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'discount_details' in /var/www/incubatorwarehouse_prod/lib/Zend/Db/Statement/Pdo.php on line 228
Call Stack
#TimeMemoryFunctionLocation
10.0001233088{main}(  )../index.php:0
20.0004265096Mage::run(  )../index.php:87
30.0014455600Mage_Core_Model_App->run(  )../Mage.php:684
40.0044616488Mage_Core_Model_App->_initModules(  )../App.php:343
50.5450646848Mage_Core_Model_Resource_Setup::applyAllUpdates(  )../App.php:417
61.11151993736Mage_Core_Model_Resource_Setup->applyUpdates(  )../Setup.php:235
71.11191992872Ess_M2ePro_Model_Upgrade_MySqlSetup->_upgradeResourceDb(  )../Setup.php:320
81.11191992968Mage_Core_Model_Resource_Setup->_upgradeResourceDb(  )../MySqlSetup.php:64
91.11191993384Mage_Core_Model_Resource_Setup->_modifyResourceDb(  )../Setup.php:437
101.11462001328include( '/var/www/incubatorwarehouse_prod/app/code/community/Ess/M2ePro/sql/M2ePro_setup/mysql4-upgrade-6.1.6-6.1.7.php' )../Setup.php:624
113.00592018232Varien_Db_Adapter_Pdo_Mysql->addColumn(  )../mysql4-upgrade-6.1.6-6.1.7.php:287
123.01082018632Varien_Db_Adapter_Pdo_Mysql->raw_query(  )../Mysql.php:848

)