gpt4 book ai didi

magento - 将 Magento 2.3.4 升级到 2.4 后产品无法保存,显示错误

转载 作者:行者123 更新时间:2023-12-01 23:48:45 24 4
gpt4 key购买 nike

我已将 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 查询,以便我创建它?

最佳答案

0

它曾在模块 Magento_GoogleShoppingAds 中使用,但该模块已停产。

https://docs.magento.com/user-guide/sales-channels/google-eol.html

但是,该模块会向您的 MySQL 数据库添加触发器,有时,当您升级到例如Magento 2.3.6 模块,删除表但无法删除触发器。

我必须在我的数据库中运行 show triggers,然后我必须删除触发器才能再次保存产品。

drop trigger trg_catalog_product_website_after_insert;
drop trigger trg_catalog_product_website_after_update;
drop trigger trg_catalog_product_website_after_delete;

关于magento - 将 Magento 2.3.4 升级到 2.4 后产品无法保存,显示错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63785441/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com