Integrity constraint violation error when saving product (google experiments on) Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Imported products show up in backend but not on front endMagento 2 - Adding 2 (or more) configurable products to cart with custom options causes Integrity constraint violationMagento 2 Insert data to table that contain foreign key error SQLSTATE[23000]: Integrity constraint violationMagento 2: Creating product with custom OptionsMagento 2:SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'entity_id' in where clause is ambiguousSaving a product gives SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint failsMagento 2 Admin login ProblemData Migration From Magento 1.9.1 to 2.1.9Random integrity constraint errors saving orders in Magento 2.1 after paymentM2 - disappearing image after
How to mute a string and play another at the same time
Can I take recommendation from someone I met at a conference?
Can I ask an author to send me his ebook?
Like totally amazing interchangeable sister outfit accessory swapping or whatever
If gravity precedes the formation of a solar system, where did the mass come from that caused the gravity?
Help Recreating a Table
Why did Bronn offer to be Tyrion Lannister's champion in trial by combat?
Is Vivien of the Wilds + Wilderness Reclamation a competitive combo?
Why does BitLocker not use RSA?
Does the Pact of the Blade warlock feature allow me to customize the properties of the pact weapon I create?
Can this water damage be explained by lack of gutters and grading issues?
Why did Israel vote against lifting the American embargo on Cuba?
How can I introduce the names of fantasy creatures to the reader?
A journey... into the MIND
Kepler's 3rd law: ratios don't fit data
Putting Ant-Man on house arrest
Has a Nobel Peace laureate ever been accused of war crimes?
Can a Wizard take the Magic Initiate feat and select spells from the Wizard list?
What is the definining line between a helicopter and a drone a person can ride in?
What is the evidence that custom checks in Northern Ireland are going to result in violence?
Weaponising the Grasp-at-a-Distance spell
Unix AIX passing variable and arguments to expect and spawn
Does traveling In The United States require a passport or can I use my green card if not a US citizen?
When speaking, how do you change your mind mid-sentence?
Integrity constraint violation error when saving product (google experiments on)
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Imported products show up in backend but not on front endMagento 2 - Adding 2 (or more) configurable products to cart with custom options causes Integrity constraint violationMagento 2 Insert data to table that contain foreign key error SQLSTATE[23000]: Integrity constraint violationMagento 2: Creating product with custom OptionsMagento 2:SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'entity_id' in where clause is ambiguousSaving a product gives SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint failsMagento 2 Admin login ProblemData Migration From Magento 1.9.1 to 2.1.9Random integrity constraint errors saving orders in Magento 2.1 after paymentM2 - disappearing image after
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to edit configurable product and getting error. I am using Magento version 2.1.2
Steps to reproduce:
Go to admin -> Stores -> Configuration -> Sales -> Google API section
Change the configuration Enable Content Experiments to "Yes"
Save a configurable product and its child product consecutively.
Expected result:
- Product should be save successfully with any number of times.
Actual result:
failed to save product
getting bellow error:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry
'0-402-product' for key
'GOOGLEOPTIMIZER_CODE_STORE_ID_ENTITY_ID_ENTITY_TYPE', query was:
UPDATE googleoptimizer_code SET entity_id = ? WHERE (code_id='136')
Anyone can help me to fix this issue?
magento-2.1
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am trying to edit configurable product and getting error. I am using Magento version 2.1.2
Steps to reproduce:
Go to admin -> Stores -> Configuration -> Sales -> Google API section
Change the configuration Enable Content Experiments to "Yes"
Save a configurable product and its child product consecutively.
Expected result:
- Product should be save successfully with any number of times.
Actual result:
failed to save product
getting bellow error:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry
'0-402-product' for key
'GOOGLEOPTIMIZER_CODE_STORE_ID_ENTITY_ID_ENTITY_TYPE', query was:
UPDATE googleoptimizer_code SET entity_id = ? WHERE (code_id='136')
Anyone can help me to fix this issue?
magento-2.1
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am trying to edit configurable product and getting error. I am using Magento version 2.1.2
Steps to reproduce:
Go to admin -> Stores -> Configuration -> Sales -> Google API section
Change the configuration Enable Content Experiments to "Yes"
Save a configurable product and its child product consecutively.
Expected result:
- Product should be save successfully with any number of times.
Actual result:
failed to save product
getting bellow error:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry
'0-402-product' for key
'GOOGLEOPTIMIZER_CODE_STORE_ID_ENTITY_ID_ENTITY_TYPE', query was:
UPDATE googleoptimizer_code SET entity_id = ? WHERE (code_id='136')
Anyone can help me to fix this issue?
magento-2.1
I am trying to edit configurable product and getting error. I am using Magento version 2.1.2
Steps to reproduce:
Go to admin -> Stores -> Configuration -> Sales -> Google API section
Change the configuration Enable Content Experiments to "Yes"
Save a configurable product and its child product consecutively.
Expected result:
- Product should be save successfully with any number of times.
Actual result:
failed to save product
getting bellow error:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry
'0-402-product' for key
'GOOGLEOPTIMIZER_CODE_STORE_ID_ENTITY_ID_ENTITY_TYPE', query was:
UPDATE googleoptimizer_code SET entity_id = ? WHERE (code_id='136')
Anyone can help me to fix this issue?
magento-2.1
magento-2.1
edited Aug 25 '17 at 8:07
Teja Bhagavan Kollepara
2,99241949
2,99241949
asked Feb 12 '17 at 12:33
Lalit KaushikLalit Kaushik
39221127
39221127
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
I found the solution. To fix this issue I edit configurations options and its worked for me. please refer this link http://prntscr.com/e7px78
add a comment |
If you don't use google experiments you can just truncate googleoptimizer_code
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f159434%2fintegrity-constraint-violation-error-when-saving-product-google-experiments-on%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I found the solution. To fix this issue I edit configurations options and its worked for me. please refer this link http://prntscr.com/e7px78
add a comment |
I found the solution. To fix this issue I edit configurations options and its worked for me. please refer this link http://prntscr.com/e7px78
add a comment |
I found the solution. To fix this issue I edit configurations options and its worked for me. please refer this link http://prntscr.com/e7px78
I found the solution. To fix this issue I edit configurations options and its worked for me. please refer this link http://prntscr.com/e7px78
answered Feb 12 '17 at 14:18
Lalit KaushikLalit Kaushik
39221127
39221127
add a comment |
add a comment |
If you don't use google experiments you can just truncate googleoptimizer_code
add a comment |
If you don't use google experiments you can just truncate googleoptimizer_code
add a comment |
If you don't use google experiments you can just truncate googleoptimizer_code
If you don't use google experiments you can just truncate googleoptimizer_code
answered Oct 3 '17 at 22:57
Łukasz JurysŁukasz Jurys
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f159434%2fintegrity-constraint-violation-error-when-saving-product-google-experiments-on%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown