database - SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '5-default-theme596-104' for key in CE -


i have been trying create static block in magento , when saving block got following error.

sqlstate[23000]: integrity constraint violation: 1062 duplicate entry '5-default-theme596-104' key unq_core_layout_link_store_id_package_theme_layout_update_id'

i don't know why happening. please me!

thanks.

there unique key constraint in database table saves unique combination of layout, link, store id, packet theme update id.

you saving entry again ..

 5-default-theme596-104 

2 ways solve issue.

1) remove entry has combination , try again 2) change values , try again 

Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -