BO - Products page - an exception is displayed when combination feature is disabled #25782
Labels
1.7.7.6
Affects versions
BO
Category: Back Office
Bug
Type: Bug
Combinations
Product type: issue about products with combinations
Fixed
Resolution: issue closed because fixed
Major
Severity: major bug > https://build.prestashop.com/news/severity-classification
Old Products Page
Concerns the old product page
Performance
Label: Which BO under menu is concerned
PR available
Solution: issue is being addressed
Regression
Type: regression
Projects
Milestone
Describe the bug
After the update from 1.7.7.5 to 1.7.7.7 the error 'Undefined index: attribute_price' appears.
Steps to Reproduce
Steps to reproduce the behavior:
It is ok with PS1775
It fails on line 3418 (1.7.7.7) in Product.php.
'attribute_price' => $row['attribute_price'] ?: null,
Bevore line 3408 (1.7.7.5) there was this code that works:
'attribute_price' => (isset($row['attribute_price']) ? $row['attribute_price'] : null),
It fails only if the feature Combination is disabled.
I don't understand because this code works in the same environment:
The text was updated successfully, but these errors were encountered: