我已经将magento升级到2.4,同时保存产品显示错误。我已经按计划尝试更新、设置升级、缓存清理重新索引,并给予root用户权限,但在保存产品时仍遇到此问题。
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'm24.scconnector_google_feed_cl' doesn't exist, query was: DELETE FROM `catalog_product_entity_media_gallery_value` WHERE (value_id = 630 AND entity_id = 640 AND store_id = 0)
我尝试过以下命令:
php bin/magento cron:install
php bin/magento cron:run
php bin/magento index:reindex
mysql -u root -p set global log_bin_trust_function_creators=1;
php bin/magento module:disable Magento_GoogleShoppingAds
我找不到表'scconnector_google_feed_cl‘。
有人能告诉我为什么从Magento 2.3.4迁移到2.4后这个表没有显示吗?
谁能给我创建表scconnector_google_feed_cl的SQL查询,这样我就可以创建它了?
发布于 2020-11-11 02:41:21
它曾在模块Magento_GoogleShoppingAds中使用,但该模块已停止使用。
https://docs.magento.com/user-guide/sales-channels/google-eol.html
但是,该模块会向您的MySQL数据库添加触发器,有时,当您升级到Magento 2.3.6等版本时,该模块会删除该表,但无法删除触发器。
我必须在我的数据库中运行显示触发器,然后我必须删除触发器,然后才能再次保存产品。
drop trigger trg_catalog_product_website_after_insert;
drop trigger trg_catalog_product_website_after_update;
drop trigger trg_catalog_product_website_after_delete;
发布于 2020-09-30 04:40:18
DROP TRIGGER IF EXISTS trg_catalog_product_entity_media_gallery_value_after_insert;
DROP TRIGGER IF EXISTS trg_catalog_product_entity_media_gallery_value_after_update;
DROP TRIGGER IF EXISTS trg_catalog_product_entity_media_gallery_value_after_delete;
https://stackoverflow.com/questions/63785441
复制相似问题