You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Verify: Attribute google_product_category is created)
Uninstall the module: bin/magento module:uninstall --remove-data --non-composer -v Meta_Catalog -> Attribute is still remaining
Remove the module with composer remove
Open a product in edit mode in catalog admin, will result in error
Type Error occurred when creating object: Meta\Catalog\Model\Config\Source\Product\GoogleProductCategory, Meta\Catalog\Model\Config\Source\Product\GoogleProductCategory::__construct(): Argument #1 ($sourceData) must be of type array, null given, called in ...
Expected result (*)
That it can be safely uninstalled
Actual result (*)
Removing the module causes errors in the magento admin (edit product page):
Type Error occurred when creating object: Meta\Catalog\Model\Config\Source\Product\GoogleProductCategory, Meta\Catalog\Model\Config\Source\Product\GoogleProductCategory::__construct(): Argument #1 ($sourceData) must be of type array, null given, called in ...
The text was updated successfully, but these errors were encountered:
ChatGPT propose the following, and i see the record in the db.
SELECT attribute_id FROM eav_attribute WHERE attribute_code = 'google_product_category';
DELETE FROM catalog_product_entity_* WHERE attribute_id = [attribute_id];
DELETE FROM eav_attribute WHERE attribute_id = [attribute_id];
but i dont want to crash my DB schema , or run in problems when I install a new versions once meta plugin compatible with magento 2.4.7 and php 8.3
Preconditions (*)
Steps to reproduce (*)
bin/magento module:uninstall --remove-data --non-composer -v Meta_Catalog
-> Attribute is still remainingcomposer remove
Expected result (*)
Actual result (*)
The text was updated successfully, but these errors were encountered: