Skip to content

Instantly share code, notes, and snippets.

@imsamthomas
Created March 31, 2016 08:23
Show Gist options
  • Save imsamthomas/102d1b340f5ca602a1863bd84dd5febd to your computer and use it in GitHub Desktop.
Save imsamthomas/102d1b340f5ca602a1863bd84dd5febd to your computer and use it in GitHub Desktop.
<pre>Zend_Db_Statement_Exception Object
(
[_previous:Zend_Exception:private] =>
[message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '3-lunar_menulink' for key 'UNQ_EAV_ATTRIBUTE_ENTITY_TYPE_ID_ATTRIBUTE_CODE'
[string:Exception:private] =>
[code:protected] => 23000
[file:protected] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/lib/Zend/Db/Statement/Pdo.php
[line:protected] => 234
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_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] => lunar_menulink
[2] =>
[3] => varchar
[4] =>
[5] =>
[6] => select
[7] => Hide link
[8] =>
[9] => lunar/system_config_source_category_status
[10] => 0
[11] => 1
[12] =>
[13] => 0
[14] => This field is applicable only for top-level categories.
)
)
)
[1] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/lib/Zend/Db/Statement.php
[line] => 300
[function] => _execute
[class] => Varien_Db_Statement_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => 3
[1] => lunar_menulink
[2] =>
[3] => varchar
[4] =>
[5] =>
[6] => select
[7] => Hide link
[8] =>
[9] => lunar/system_config_source_category_status
[10] => 0
[11] => 1
[12] =>
[13] => 0
[14] => This field is applicable only for top-level categories.
)
)
)
[2] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/lib/Zend/Db/Adapter/Abstract.php
[line] => 479
[function] => execute
[class] => Zend_Db_Statement
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => 3
[1] => lunar_menulink
[2] =>
[3] => varchar
[4] =>
[5] =>
[6] => select
[7] => Hide link
[8] =>
[9] => lunar/system_config_source_category_status
[10] => 0
[11] => 1
[12] =>
[13] => 0
[14] => This field is applicable only for top-level categories.
)
)
)
[3] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php
[line] => 238
[function] => query
[class] => Zend_Db_Adapter_Abstract
[type] => ->
[args] => Array
(
[0] => INSERT INTO `eav_attribute` (`entity_type_id`, `attribute_code`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`, `frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`, `is_user_defined`, `default_value`, `is_unique`, `note`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[1] => Array
(
[0] => 3
[1] => lunar_menulink
[2] =>
[3] => varchar
[4] =>
[5] =>
[6] => select
[7] => Hide link
[8] =>
[9] => lunar/system_config_source_category_status
[10] => 0
[11] => 1
[12] =>
[13] => 0
[14] => This field is applicable only for top-level categories.
)
)
)
[4] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 419
[function] => query
[class] => Zend_Db_Adapter_Pdo_Abstract
[type] => ->
[args] => Array
(
[0] => INSERT INTO `eav_attribute` (`entity_type_id`, `attribute_code`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`, `frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`, `is_user_defined`, `default_value`, `is_unique`, `note`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[1] => Array
(
[0] => 3
[1] => lunar_menulink
[2] =>
[3] => varchar
[4] =>
[5] =>
[6] => select
[7] => Hide link
[8] =>
[9] => lunar/system_config_source_category_status
[10] => 0
[11] => 1
[12] =>
[13] => 0
[14] => This field is applicable only for top-level categories.
)
)
)
[5] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/lib/Zend/Db/Adapter/Abstract.php
[line] => 574
[function] => query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => INSERT INTO `eav_attribute` (`entity_type_id`, `attribute_code`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`, `frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`, `is_user_defined`, `default_value`, `is_unique`, `note`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[1] => Array
(
[0] => 3
[1] => lunar_menulink
[2] =>
[3] => varchar
[4] =>
[5] =>
[6] => select
[7] => Hide link
[8] =>
[9] => lunar/system_config_source_category_status
[10] => 0
[11] => 1
[12] =>
[13] => 0
[14] => This field is applicable only for top-level categories.
)
)
)
[6] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/code/core/Mage/Eav/Model/Entity/Setup.php
[line] => 1404
[function] => insert
[class] => Zend_Db_Adapter_Abstract
[type] => ->
[args] => Array
(
[0] => eav_attribute
[1] => Array
(
[entity_type_id] => 3
[attribute_code] => lunar_menulink
[backend_model] =>
[backend_type] => varchar
[backend_table] =>
[frontend_model] =>
[frontend_input] => select
[frontend_label] => Hide link
[frontend_class] =>
[source_model] => lunar/system_config_source_category_status
[is_required] => 0
[is_user_defined] => 1
[default_value] =>
[is_unique] => 0
[note] => This field is applicable only for top-level categories.
)
)
)
[7] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/code/core/Mage/Eav/Model/Entity/Setup.php
[line] => 666
[function] => _insertAttribute
[class] => Mage_Eav_Model_Entity_Setup
[type] => ->
[args] => Array
(
[0] => Array
(
[entity_type_id] => 3
[attribute_code] => lunar_menulink
[backend_model] =>
[backend_type] => varchar
[backend_table] =>
[frontend_model] =>
[frontend_input] => select
[frontend_label] => Hide link
[frontend_class] =>
[source_model] => lunar/system_config_source_category_status
[is_required] => 0
[is_user_defined] => 1
[default_value] =>
[is_unique] => 0
[note] => This field is applicable only for top-level categories.
[is_global] => 0
)
)
)
[8] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/code/local/Sns/Lunar/sql/sns_lunar_setup/mysql4-install-1.0.0.php
[line] => 27
[function] => addAttribute
[class] => Mage_Eav_Model_Entity_Setup
[type] => ->
[args] => Array
(
[0] => 3
[1] => lunar_menulink
[2] => Array
(
[group] => Lunar Menu
[label] => Hide link
[note] => This field is applicable only for top-level categories.
[type] => varchar
[input] => select
[source] => lunar/system_config_source_category_status
[visible] => 1
[required] =>
[backend] =>
[frontend] =>
[searchable] =>
[filterable] =>
[comparable] =>
[user_defined] => 1
[visible_on_front] => 1
[wysiwyg_enabled] =>
[is_html_allowed_on_front] =>
[global] => 0
)
)
)
[9] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 624
[args] => Array
(
[0] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/code/local/Sns/Lunar/sql/sns_lunar_setup/mysql4-install-1.0.0.php
)
[function] => include
)
[10] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 421
[function] => _modifyResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => install
[1] =>
[2] => 1.0.0
)
)
[11] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 327
[function] => _installResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => 1.0.0
)
)
[12] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_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/lunartxs/domains/lunar2t1.xstore.co.il/public_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/lunartxs/domains/lunar2t1.xstore.co.il/public_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/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/Mage.php
[line] => 683
[function] => run
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] => Array
(
[scope_code] =>
[scope_type] => store
[options] => Array
(
)
)
)
)
[16] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/index.php
[line] => 88
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
[0] =>
[1] => store
)
)
)
[previous:Exception:private] => PDOException Object
(
[message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '3-lunar_menulink' for key 'UNQ_EAV_ATTRIBUTE_ENTITY_TYPE_ID_ATTRIBUTE_CODE'
[string:Exception:private] =>
[code:protected] => 23000
[file:protected] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/lib/Zend/Db/Statement/Pdo.php
[line:protected] => 228
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/lib/Zend/Db/Statement/Pdo.php
[line] => 228
[function] => execute
[class] => PDOStatement
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => 3
[1] => lunar_menulink
[2] =>
[3] => varchar
[4] =>
[5] =>
[6] => select
[7] => Hide link
[8] =>
[9] => lunar/system_config_source_category_status
[10] => 0
[11] => 1
[12] =>
[13] => 0
[14] => This field is applicable only for top-level categories.
)
)
)
[1] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_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] => lunar_menulink
[2] =>
[3] => varchar
[4] =>
[5] =>
[6] => select
[7] => Hide link
[8] =>
[9] => lunar/system_config_source_category_status
[10] => 0
[11] => 1
[12] =>
[13] => 0
[14] => This field is applicable only for top-level categories.
)
)
)
[2] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/lib/Zend/Db/Statement.php
[line] => 300
[function] => _execute
[class] => Varien_Db_Statement_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => 3
[1] => lunar_menulink
[2] =>
[3] => varchar
[4] =>
[5] =>
[6] => select
[7] => Hide link
[8] =>
[9] => lunar/system_config_source_category_status
[10] => 0
[11] => 1
[12] =>
[13] => 0
[14] => This field is applicable only for top-level categories.
)
)
)
[3] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/lib/Zend/Db/Adapter/Abstract.php
[line] => 479
[function] => execute
[class] => Zend_Db_Statement
[type] => ->
[args] => Array
(
[0] => Array
(
[0] => 3
[1] => lunar_menulink
[2] =>
[3] => varchar
[4] =>
[5] =>
[6] => select
[7] => Hide link
[8] =>
[9] => lunar/system_config_source_category_status
[10] => 0
[11] => 1
[12] =>
[13] => 0
[14] => This field is applicable only for top-level categories.
)
)
)
[4] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php
[line] => 238
[function] => query
[class] => Zend_Db_Adapter_Abstract
[type] => ->
[args] => Array
(
[0] => INSERT INTO `eav_attribute` (`entity_type_id`, `attribute_code`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`, `frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`, `is_user_defined`, `default_value`, `is_unique`, `note`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[1] => Array
(
[0] => 3
[1] => lunar_menulink
[2] =>
[3] => varchar
[4] =>
[5] =>
[6] => select
[7] => Hide link
[8] =>
[9] => lunar/system_config_source_category_status
[10] => 0
[11] => 1
[12] =>
[13] => 0
[14] => This field is applicable only for top-level categories.
)
)
)
[5] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php
[line] => 419
[function] => query
[class] => Zend_Db_Adapter_Pdo_Abstract
[type] => ->
[args] => Array
(
[0] => INSERT INTO `eav_attribute` (`entity_type_id`, `attribute_code`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`, `frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`, `is_user_defined`, `default_value`, `is_unique`, `note`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[1] => Array
(
[0] => 3
[1] => lunar_menulink
[2] =>
[3] => varchar
[4] =>
[5] =>
[6] => select
[7] => Hide link
[8] =>
[9] => lunar/system_config_source_category_status
[10] => 0
[11] => 1
[12] =>
[13] => 0
[14] => This field is applicable only for top-level categories.
)
)
)
[6] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/lib/Zend/Db/Adapter/Abstract.php
[line] => 574
[function] => query
[class] => Varien_Db_Adapter_Pdo_Mysql
[type] => ->
[args] => Array
(
[0] => INSERT INTO `eav_attribute` (`entity_type_id`, `attribute_code`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`, `frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`, `is_user_defined`, `default_value`, `is_unique`, `note`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
[1] => Array
(
[0] => 3
[1] => lunar_menulink
[2] =>
[3] => varchar
[4] =>
[5] =>
[6] => select
[7] => Hide link
[8] =>
[9] => lunar/system_config_source_category_status
[10] => 0
[11] => 1
[12] =>
[13] => 0
[14] => This field is applicable only for top-level categories.
)
)
)
[7] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/code/core/Mage/Eav/Model/Entity/Setup.php
[line] => 1404
[function] => insert
[class] => Zend_Db_Adapter_Abstract
[type] => ->
[args] => Array
(
[0] => eav_attribute
[1] => Array
(
[entity_type_id] => 3
[attribute_code] => lunar_menulink
[backend_model] =>
[backend_type] => varchar
[backend_table] =>
[frontend_model] =>
[frontend_input] => select
[frontend_label] => Hide link
[frontend_class] =>
[source_model] => lunar/system_config_source_category_status
[is_required] => 0
[is_user_defined] => 1
[default_value] =>
[is_unique] => 0
[note] => This field is applicable only for top-level categories.
)
)
)
[8] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/code/core/Mage/Eav/Model/Entity/Setup.php
[line] => 666
[function] => _insertAttribute
[class] => Mage_Eav_Model_Entity_Setup
[type] => ->
[args] => Array
(
[0] => Array
(
[entity_type_id] => 3
[attribute_code] => lunar_menulink
[backend_model] =>
[backend_type] => varchar
[backend_table] =>
[frontend_model] =>
[frontend_input] => select
[frontend_label] => Hide link
[frontend_class] =>
[source_model] => lunar/system_config_source_category_status
[is_required] => 0
[is_user_defined] => 1
[default_value] =>
[is_unique] => 0
[note] => This field is applicable only for top-level categories.
[is_global] => 0
)
)
)
[9] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/code/local/Sns/Lunar/sql/sns_lunar_setup/mysql4-install-1.0.0.php
[line] => 27
[function] => addAttribute
[class] => Mage_Eav_Model_Entity_Setup
[type] => ->
[args] => Array
(
[0] => 3
[1] => lunar_menulink
[2] => Array
(
[group] => Lunar Menu
[label] => Hide link
[note] => This field is applicable only for top-level categories.
[type] => varchar
[input] => select
[source] => lunar/system_config_source_category_status
[visible] => 1
[required] =>
[backend] =>
[frontend] =>
[searchable] =>
[filterable] =>
[comparable] =>
[user_defined] => 1
[visible_on_front] => 1
[wysiwyg_enabled] =>
[is_html_allowed_on_front] =>
[global] => 0
)
)
)
[10] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 624
[args] => Array
(
[0] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/code/local/Sns/Lunar/sql/sns_lunar_setup/mysql4-install-1.0.0.php
)
[function] => include
)
[11] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 421
[function] => _modifyResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => install
[1] =>
[2] => 1.0.0
)
)
[12] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php
[line] => 327
[function] => _installResourceDb
[class] => Mage_Core_Model_Resource_Setup
[type] => ->
[args] => Array
(
[0] => 1.0.0
)
)
[13] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_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/lunartxs/domains/lunar2t1.xstore.co.il/public_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/lunartxs/domains/lunar2t1.xstore.co.il/public_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/lunartxs/domains/lunar2t1.xstore.co.il/public_html/app/Mage.php
[line] => 683
[function] => run
[class] => Mage_Core_Model_App
[type] => ->
[args] => Array
(
[0] => Array
(
[scope_code] =>
[scope_type] => store
[options] => Array
(
)
)
)
)
[17] => Array
(
[file] => /home/lunartxs/domains/lunar2t1.xstore.co.il/public_html/index.php
[line] => 88
[function] => run
[class] => Mage
[type] => ::
[args] => Array
(
[0] =>
[1] => store
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => 23000
[1] => 1062
[2] => Duplicate entry '3-lunar_menulink' for key 'UNQ_EAV_ATTRIBUTE_ENTITY_TYPE_ID_ATTRIBUTE_CODE'
)
)
)
</pre><script type="text/javascript">window.location.href = 'http://lunar2t1.xstore.co.il/errors/report.php?id=971968746780&skin=default';</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment