magento2: 2.4.0 Can't edit attributes possible Temando Shipping related
Preconditions (*)
- 2.4.0
- Stores>Attributes>Product>Click attribute
- I have upgraded from 2.3.4
Steps to reproduce (*)
- When clicking on attribute receiving an error, my wild guess its related to Temando Shipping being removed in 2.3.5
- It happens with all attributes whether its default attributes or custom attributes.
- It happens also if you click “Add attribute”
Expected result (*)
- [Screenshots, logs or description]
- Edit attribute window
Actual result (*)
- [Screenshots, logs or description]
- Getting this error
Call to undefined method Magento\Framework\Json\Helper\Data::getAttributeHiddenFields() in /data/www/pneumatig/vendor/magento/module-catalog/view/adminhtml/templates/catalog/product/attribute/js.phtml:216
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 19 (5 by maintainers)
Here’s a patch I created to use with
vaimo/composer-packages
;Same error migrating from 2.4.1 to 2.4.2. I solved with @peterjaap patch. (Thank you 😃 Is not related with Temando However the inconsistency on the class position is evident with a quick glance. The error appears only if Magento_Swatches module is disabled. This module override the wrong template with his own (which is correct).
Thank @antoniocarboni Your answer is helpful for me. Its solve my issue.
problem still persists… fix this, why is whole thing crashing when you disable 1 module, that should absolutelly not happen