-
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
error when open some product page in adminhtml #36938
Comments
Hi @salah11172. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Lima. Thank you for working on this issue.
|
Hi @engcom-Bravo. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Bravo, here is your Magento Instance: https://5b3b4d84aa34ac1c9d18d15ec8ee6765.instances.magento-community.engineering |
Magento 2.4.4 requires PHP 8.1 not 7.4. See system requirements here |
@devchris79 Thanks for your contribution & collaboration over here. Hi @salah11172, Thank you for reporting and collaboration. Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots. Steps to reproduce 1.Import the Products. We are able to edit the product. Kindly recheck the issue on Magento 2.4-develop instance and check if any 3rd party extensions / modules enabled is causing this issue. Kindly check your system requirements https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/system-requirements.html.Please let us know if you are still facing any issue. Thanks. |
@magento give me 2.4-develop instance |
Hi @shilpsauce. Thank you for your request. I'm working on Magento instance for you. |
Hi @shilpsauce, here is your Magento Instance: https://5b3b4d84aa34ac1c9d18d15ec8ee6765.instances.magento-community.engineering |
Update |
Hi @salah11172, Thanks for your update. Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots. Steps to reproduce 1.Import the Products. We have imported a products with Attribute set is Empty.Below is the CSV file. We are able to open the product page. Kindly recheck the issue on Magento 2.4-develop instance and check if any 3rd party extensions / modules enabled is causing this issue. Thanks. |
Hi @salah11172. We have noticed that this issue has not been updated for a period of 14 Days. Hence we assume that this issue is fixed now, so we are closing it. Please raise a fresh ticket or reopen this ticket if you need more assistance on this. Thanks. |
Faced same issue, any update on this ?? |
check Attribute set is empty ? |
Had the same issue today.
The product was assigned to a non-existing attribute_set. Here is a query you can use to check if your database contains any products with orphaned attribute sets:
|
Preconditions and environment
php 7.4
Steps to reproduce
open product page in backend
Expected result
expected open product page and view product details
Actual result
TypeError: Argument 1 passed to Magento\Framework\View\Element\UiComponent\DataProvider\Sanitizer::sanitizeComponentMetadata() must be of the type array, null given in /chroot/home/a44febd9/b077da9ab2.nxcli.net/vendor/magento/framework/View/Element/UiComponent/DataProvider/Sanitizer.php:85
Stack trace:
#0 [internal function]: Magento\Framework\View\Element\UiComponent\DataProvider\Sanitizer->sanitizeComponentMetadata(NULL)
#1 /chroot/home/a44febd9/b077da9ab2.nxcli.net/vendor/magento/framework/View/Element/UiComponent/DataProvider/Sanitizer.php(97): array_map(Array, Array)
#2 [internal function]: Magento\Framework\View\Element\UiComponent\DataProvider\Sanitizer->sanitizeComponentMetadata(Array)
#3 /chroot/home/a44febd9/b077da9ab2.nxcli.net/vendor/magento/framework/View/Element/UiComponent/DataProvider/Sanitizer.php(97): array_map(Array, Array)
#4 /chroot/home/a44febd9/b077da9ab2.nxcli.net/vendor/magento/framework/View/Element/UiComponentFactory.php(332): Magento\Framework\View\Element\UiComponent\DataProvider\Sanitizer->sanitizeComponentMetadata(Array)
#5 /chroot/home/a44febd9/b077da9ab2.nxcli.net/vendor/magento/framework/View/Element/UiComponentFactory.php(231): Magento\Framework\View\Element\UiComponentFactory->mergeMetadata('product_form', Array, false)
#6 /chroot/home/a44febd9/b077da9ab2.nxcli.net/vendor/magento/framework/View/Layout/Generator/UiComponent.php(140): Magento\Framework\View\Element\UiComponentFactory->create('product_form', NULL, Array)
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: