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

                        )

                )

            [1] => Array
                (
                    [file] => /var/www/html/magentoee/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/html/magentoee/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/html/magentoee/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 480
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/html/magentoee/lib/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE itoris_productqa_questions ADD `email` VARCHAR( 255 ) NULL
                            [1] => Array
                                (
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /var/www/html/magentoee/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 428
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE itoris_productqa_questions ADD `email` VARCHAR( 255 ) NULL
                            [1] => Array
                                (
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /var/www/html/magentoee/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 347
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE itoris_productqa_questions ADD `email` VARCHAR( 255 ) NULL
                        )

                )

            [7] => Array
                (
                    [file] => /var/www/html/magentoee/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 617
                    [function] => raw_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => ALTER TABLE itoris_productqa_questions ADD `email` VARCHAR( 255 ) NULL
                        )

                )

            [8] => Array
                (
                    [file] => /var/www/html/magentoee/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 599
                    [function] => multi_query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 

ALTER TABLE itoris_productqa_questions ADD `email` VARCHAR( 255 ) NULL;

REPLACE INTO itoris_productqa_settings (`scope`, `scope_id`, `key`, `value`, `type`) VALUES
		('default', 0, 'template_guest_name', 0, 'text');

REPLACE INTO itoris_productqa_settings_text (`setting_id`, `value`)
		 values ((SELECT LAST_INSERT_ID()), '{{store_view_name}}');

REPLACE INTO itoris_productqa_settings (`scope`, `scope_id`, `key`, `value`, `type`) VALUES
		('default', 0, 'template_guest_email', 0, 'text');

REPLACE INTO itoris_productqa_settings_text (`setting_id`, `value`)
		 values ((SELECT LAST_INSERT_ID()), 'admin@admin.com');

REPLACE INTO itoris_productqa_settings (`scope`, `scope_id`, `key`, `value`, `type`) VALUES
		('default', 0, 'template_guest_subject', 0, 'text');

REPLACE INTO itoris_productqa_settings_text (`setting_id`, `value`)
		 values ((SELECT LAST_INSERT_ID()), 'New answer added to your question.');

REPLACE INTO itoris_productqa_settings (`scope`, `scope_id`, `key`, `value`, `type`) VALUES
		('default', 0, 'template_guest_notification', 0, 'text');

REPLACE INTO itoris_productqa_settings_text (`setting_id`, `value`)
		 values ((SELECT LAST_INSERT_ID()), '

Dear {{username}},

 

There is a new reply on your question about {{product_name}}.

The Question is {{question}}.

The reply is {{reply}}.

 

The reply can be found on {{product_page}}.

'); ) ) [9] => Array ( [file] => /var/www/html/magentoee/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 933 [function] => multiQuery [class] => Varien_Db_Adapter_Pdo_Mysql [type] => -> [args] => Array ( [0] => ALTER TABLE itoris_productqa_questions ADD `email` VARCHAR( 255 ) NULL; REPLACE INTO itoris_productqa_settings (`scope`, `scope_id`, `key`, `value`, `type`) VALUES ('default', 0, 'template_guest_name', 0, 'text'); REPLACE INTO itoris_productqa_settings_text (`setting_id`, `value`) values ((SELECT LAST_INSERT_ID()), '{{store_view_name}}'); REPLACE INTO itoris_productqa_settings (`scope`, `scope_id`, `key`, `value`, `type`) VALUES ('default', 0, 'template_guest_email', 0, 'text'); REPLACE INTO itoris_productqa_settings_text (`setting_id`, `value`) values ((SELECT LAST_INSERT_ID()), 'admin@admin.com'); REPLACE INTO itoris_productqa_settings (`scope`, `scope_id`, `key`, `value`, `type`) VALUES ('default', 0, 'template_guest_subject', 0, 'text'); REPLACE INTO itoris_productqa_settings_text (`setting_id`, `value`) values ((SELECT LAST_INSERT_ID()), 'New answer added to your question.'); REPLACE INTO itoris_productqa_settings (`scope`, `scope_id`, `key`, `value`, `type`) VALUES ('default', 0, 'template_guest_notification', 0, 'text'); REPLACE INTO itoris_productqa_settings_text (`setting_id`, `value`) values ((SELECT LAST_INSERT_ID()), '

Dear {{username}},

 

There is a new reply on your question about {{product_name}}.

The Question is {{question}}.

The reply is {{reply}}.

 

The reply can be found on {{product_page}}.

'); ) ) [10] => Array ( [file] => /var/www/html/magentoee/app/code/local/Itoris/ProductQa/sql/itoris_productqa_setup/mysql4-upgrade-1.0.1-1.0.2.php(29) : eval()'d code(28) : eval()'d code(20) : eval()'d code [line] => 58 [function] => run [class] => Mage_Core_Model_Resource_Setup [type] => -> [args] => Array ( [0] => ALTER TABLE itoris_productqa_questions ADD `email` VARCHAR( 255 ) NULL; REPLACE INTO itoris_productqa_settings (`scope`, `scope_id`, `key`, `value`, `type`) VALUES ('default', 0, 'template_guest_name', 0, 'text'); REPLACE INTO itoris_productqa_settings_text (`setting_id`, `value`) values ((SELECT LAST_INSERT_ID()), '{{store_view_name}}'); REPLACE INTO itoris_productqa_settings (`scope`, `scope_id`, `key`, `value`, `type`) VALUES ('default', 0, 'template_guest_email', 0, 'text'); REPLACE INTO itoris_productqa_settings_text (`setting_id`, `value`) values ((SELECT LAST_INSERT_ID()), 'admin@admin.com'); REPLACE INTO itoris_productqa_settings (`scope`, `scope_id`, `key`, `value`, `type`) VALUES ('default', 0, 'template_guest_subject', 0, 'text'); REPLACE INTO itoris_productqa_settings_text (`setting_id`, `value`) values ((SELECT LAST_INSERT_ID()), 'New answer added to your question.'); REPLACE INTO itoris_productqa_settings (`scope`, `scope_id`, `key`, `value`, `type`) VALUES ('default', 0, 'template_guest_notification', 0, 'text'); REPLACE INTO itoris_productqa_settings_text (`setting_id`, `value`) values ((SELECT LAST_INSERT_ID()), '

Dear {{username}},

 

There is a new reply on your question about {{product_name}}.

The Question is {{question}}.

The reply is {{reply}}.

 

The reply can be found on {{product_page}}.

'); ) ) [11] => Array ( [file] => /var/www/html/magentoee/app/code/local/Itoris/ProductQa/sql/itoris_productqa_setup/mysql4-upgrade-1.0.1-1.0.2.php(29) : eval()'d code(28) : eval()'d code [line] => 20 [function] => eval ) [12] => Array ( [file] => /var/www/html/magentoee/app/code/local/Itoris/ProductQa/sql/itoris_productqa_setup/mysql4-upgrade-1.0.1-1.0.2.php(29) : eval()'d code [line] => 28 [function] => eval ) [13] => Array ( [file] => /var/www/html/magentoee/app/code/local/Itoris/ProductQa/sql/itoris_productqa_setup/mysql4-upgrade-1.0.1-1.0.2.php [line] => 29 [function] => eval ) [14] => Array ( [file] => /var/www/html/magentoee/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 624 [args] => Array ( [0] => /var/www/html/magentoee/app/code/local/Itoris/ProductQa/sql/itoris_productqa_setup/mysql4-upgrade-1.0.1-1.0.2.php ) [function] => include ) [15] => Array ( [file] => /var/www/html/magentoee/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.0 [2] => 1.0.18 ) ) [16] => Array ( [file] => /var/www/html/magentoee/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.0 [1] => 1.0.18 ) ) [17] => Array ( [file] => /var/www/html/magentoee/app/code/core/Mage/Core/Model/Resource/Setup.php [line] => 235 [function] => applyUpdates [class] => Mage_Core_Model_Resource_Setup [type] => -> [args] => Array ( ) ) [18] => Array ( [file] => /var/www/html/magentoee/app/code/core/Mage/Core/Model/App.php [line] => 417 [function] => applyAllUpdates [class] => Mage_Core_Model_Resource_Setup [type] => :: [args] => Array ( ) ) [19] => Array ( [file] => /var/www/html/magentoee/app/code/core/Mage/Core/Model/App.php [line] => 343 [function] => _initModules [class] => Mage_Core_Model_App [type] => -> [args] => Array ( ) ) [20] => Array ( [file] => /var/www/html/magentoee/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 ( ) ) ) ) [21] => Array ( [file] => /var/www/html/magentoee/index.php [line] => 89 [function] => run [class] => Mage [type] => :: [args] => Array ( [0] => default [1] => store ) ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'email' ) )