-
Notifications
You must be signed in to change notification settings - Fork 24
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
Missing required argument $sourceData of Meta\Catalog\Model\Config\Source\Product\GoogleProductCategory #90
Comments
@davirs we were not able to reproduce this issue, can you please provide more details on the magento version you are on, and the steps that you took to disable the module. Also did you disable all the meta modules or just the Meta_Catalog module? |
Hello 👋
Looking at the code, the constructor of the model in error request a required property, that magento cannot provide, concerning the source of the eav attribute meta-for-magento2/app/code/Meta/Catalog/Model/Config/Source/Product/GoogleProductCategory.php Line 32 in fecedfb
The only ''workaround'' I found is to remove the class on source column in eav_attributes google_product_category Technical informations Thanks 👌 |
This is how Magento works, if the extension is disabled but the product attribute still exists, Magento will continue to reference the custom source model, leading to errors when loading products in the admin panel. To properly remove the attribute and avoid such issues, the module should be uninstalled instead of just being disabled.
I am closing this ticket for now, in case this does not solve your issue, feel free to create a new issue again. |
After disabling the extension, an error is generated on the product page in the administrative panel.
I believe the way the attributes were installed must be different.
It is common, especially in stage, to have to deactivate all extensions, Facebook does not allow this without error.
php 8.2
meta 1.3.4
` exception(s):
Exception #0 (BadMethodCallException): Missing required argument $sourceData of Meta\Catalog\Model\Config\Source\Product\GoogleProductCategory.
Exception #0 (BadMethodCallException): Missing required argument $sourceData of Meta\Catalog\Model\Config\Source\Product\GoogleProductCategory.
The text was updated successfully, but these errors were encountered: