Missing attributes create a ton of logs in PHP 8 #6230
Replies: 7 comments
-
here's what it looks like in the Attributes Controller in 1.5.8. |
Beta Was this translation helpful? Give feedback.
-
Admin Log 1:
|
Beta Was this translation helpful? Give feedback.
-
Storefront log 1:
|
Beta Was this translation helpful? Give feedback.
-
Logs 2, 3 on checkout shipping page:
|
Beta Was this translation helpful? Give feedback.
-
Logs 3 and 4 at checkout, white screen occurs.
|
Beta Was this translation helpful? Give feedback.
-
Root cause: some rows in the products_attributes have options_id = 0. I will just delete those rows; they refer to attributes which apparently no longer exist. |
Beta Was this translation helpful? Give feedback.
-
Migrating to discussion; don't think this is worth fixing at the moment. |
Beta Was this translation helpful? Give feedback.
-
This is a pathological situation which should not happen but if someone has been diddling their database, it can.
A product with a missing attribute creates a lot of logs in shopping cart and a white screen on checkout. Is it worth fixing this or should I beef up the audit program to detect this condition?
Beta Was this translation helpful? Give feedback.
All reactions