-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some bug in $product->load($id) method for some products #2800
Comments
var_dump($stockStatus); == option_id of dropdown main.CRITICAL: exception 'Exception' with message 'Notice: Undefined variable: status in ---vendor/magento/module-catalog-inventory/Helper/Stock.php on line 86' in ---vendor/magento/framework/App/ErrorHandler.php:61 |
Thanks for reporting this issue! Internal ticket MAGETWO-47431 |
[TSG] Upporting for 2.3 (pr27) (2.3.0)
yoyo
The users can get error if store have attribute of product like 'stock_status'
"mysql> select * from eav_attribute where attribute_id = 364;
+--------------+----------------+----------------+-----------------+---------------+--------------+---------------+----------------+----------------+----------------+----------------+-----------------------------------+-------------+-----------------+---------------+-----------+------+
| attribute_id | entity_type_id | attribute_code | attribute_model | 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 |
+--------------+----------------+----------------+-----------------+---------------+--------------+---------------+----------------+----------------+----------------+----------------+-----------------------------------+-------------+-----------------+---------------+-----------+------+
| 364 | 4 | stock_status | NULL | NULL | int | NULL | NULL | select | Stock Options | NULL | eav/entity_attribute_source_table | 0 | 1 | | 0 | |
+--------------+----------------+----------------+-----------------+---------------+--------------+---------------+----------------+----------------+----------------+----------------+-----------------------------------+-------------+-----------------+---------------+-----------+------+
1 row in set (0.00 sec)"
The text was updated successfully, but these errors were encountered: