PDOException Object
(
[message:protected] => SQLSTATE[42S22]: Column not found: 1054 Unknown column 'is_used_for_promo_rules' in 'field list'
[string:private] =>
[code:protected] => 42S22
[file:protected] => /home/trouts/domains/store.troutsflyfishing.com/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line:protected] => 276
[trace:private] => Array
(
[0] => Array
(
[file] => /home/trouts/domains/store.troutsflyfishing.com/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 276
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => insert ignore into catalog_eav_attribute
set attribute_id = @attribute_id,
is_visible = 1,
is_searchable = 1,
is_used_for_promo_rules = 1
)
)
[1] => Array
(
[file] => /home/trouts/domains/store.troutsflyfishing.com/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 396
[function] => raw_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => insert ignore into catalog_eav_attribute
set attribute_id = @attribute_id,
is_visible = 1,
is_searchable = 1,
is_used_for_promo_rules = 1
)
)
[2] => Array
(
[file] => /home/trouts/domains/store.troutsflyfishing.com/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 612
[function] => multi_query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] =>
select @entity_type_id:=entity_type_id from eav_entity_type where entity_type_code='catalog_product';
select @attribute_set_id:=attribute_set_id from eav_attribute_set where entity_type_id=@entity_type_id and attribute_set_name='Default';
insert ignore into eav_attribute_group
set attribute_set_id = @attribute_set_id,
attribute_group_name = 'Shipping',
sort_order = 99;
select @attribute_group_id:=attribute_group_id from eav_attribute_group where attribute_group_name='Shipping' and attribute_set_id = @attribute_set_id;
insert ignore into eav_attribute
set entity_type_id = @entity_type_id,
attribute_code = 'free_shipping',
backend_type = 'int',
frontend_input = 'boolean',
frontend_label = 'Qualifies for free shipping',
source_model = 'eav/entity_attribute_source_boolean',
is_required = 1,
is_user_defined = 1,
default_value = 1;
select @attribute_id:=attribute_id from eav_attribute where attribute_code='free_shipping';
insert ignore into eav_entity_attribute
set entity_type_id = @entity_type_id,
attribute_set_id = @attribute_set_id,
attribute_group_id = @attribute_group_id,
attribute_id = @attribute_id;
insert ignore into catalog_eav_attribute
set attribute_id = @attribute_id,
is_visible = 1,
is_searchable = 1,
is_used_for_promo_rules = 1;
)
)
[3] => Array
(
[file] => /home/trouts/domains/store.troutsflyfishing.com/public_html/app/code/local/Unleaded/FreeShippingAlert/sql/freeshippingalert_setup/mysql4-install-0.1.0.php
[line] => 46
[function] => run
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] =>
select @entity_type_id:=entity_type_id from eav_entity_type where entity_type_code='catalog_product';
select @attribute_set_id:=attribute_set_id from eav_attribute_set where entity_type_id=@entity_type_id and attribute_set_name='Default';
insert ignore into eav_attribute_group
set attribute_set_id = @attribute_set_id,
attribute_group_name = 'Shipping',
sort_order = 99;
select @attribute_group_id:=attribute_group_id from eav_attribute_group where attribute_group_name='Shipping' and attribute_set_id = @attribute_set_id;
insert ignore into eav_attribute
set entity_type_id = @entity_type_id,
attribute_code = 'free_shipping',
backend_type = 'int',
frontend_input = 'boolean',
frontend_label = 'Qualifies for free shipping',
source_model = 'eav/entity_attribute_source_boolean',
is_required = 1,
is_user_defined = 1,
default_value = 1;
select @attribute_id:=attribute_id from eav_attribute where attribute_code='free_shipping';
insert ignore into eav_entity_attribute
set entity_type_id = @entity_type_id,
attribute_set_id = @attribute_set_id,
attribute_group_id = @attribute_group_id,
attribute_id = @attribute_id;
insert ignore into catalog_eav_attribute
set attribute_id = @attribute_id,
is_visible = 1,
is_searchable = 1,
is_used_for_promo_rules = 1;
)
)
[4] => Array
(
[file] => /home/trouts/domains/store.troutsflyfishing.com/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 360
[args] => Array
(
[0] => /home/trouts/domains/store.troutsflyfishing.com/public_html/app/code/local/Unleaded/FreeShippingAlert/sql/freeshippingalert_setup/mysql4-install-0.1.0.php
)
[function] => include
)
[5] => Array
(
[file] => /home/trouts/domains/store.troutsflyfishing.com/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 260
[function] => _modifyResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => install
[1] =>
[2] => 0.1.0
)
)
[6] => Array
(
[file] => /home/trouts/domains/store.troutsflyfishing.com/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 224
[function] => _installResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => 0.1.0
)
)
[7] => Array
(
[file] => /home/trouts/domains/store.troutsflyfishing.com/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 153
[function] => applyUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
)
)
[8] => Array
(
[file] => /home/trouts/domains/store.troutsflyfishing.com/public_html/app/code/core/Mage/Core/Model/App.php
[line] => 363
[function] => applyAllUpdates
[class] => Mage_Core_Model_Resource_Setup
[type] => ::
[args] => Array
(
)
)
[9] => Array
(
[file] => /home/trouts/domains/store.troutsflyfishing.com/public_html/app/code/core/Mage/Core/Model/App.php
[line] => 295
[function] => _initModules
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
)
)
[10] => Array
(
[file] => /home/trouts/domains/store.troutsflyfishing.com/public_html/app/Mage.php
[line] => 596
[function] => run
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] => Array
(
[scope_code] =>
[scope_type] => store
[options] => Array
(
)
)
)
)
[11] => Array
(
[file] => /home/trouts/domains/store.troutsflyfishing.com/public_html/index.php
[line] => 78
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
[0] =>
[1] => store
)
)
)
[errorInfo] => Array
(
[0] => 42S22
[1] => 1054
[2] => Unknown column 'is_used_for_promo_rules' in 'field list'
)
)