【发布时间】:2020-11-13 02:04:54
【问题描述】:
希望你做得很好,我的网站是www.coutlet.com,它工作正常,但是当我打开任何产品页面时,图像都没有显示。我已经尝试启用禁用几乎所有插件,但这不起作用。我的 woocommerce 版本是 4.7.0
这些是调试消息,它们都是警告。
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home4/heglqsmy/public_html/wp-content/plugins/hercules-core/translate/includes/class-hercules-wp-translate-po-parser.php on line 186
Deprecated: Function create_function() is deprecated in /home4/heglqsmy/public_html/wp-content/plugins/masterslider/includes/classes/class-msp-main-widget.php on line 95
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home4/heglqsmy/public_html/wp-content/plugins/revslider/includes/operations.class.php on line 2758
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home4/heglqsmy/public_html/wp-content/plugins/revslider/includes/operations.class.php on line 2762
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home4/heglqsmy/public_html/wp-content/plugins/revslider/includes/output.class.php on line 3706
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home4/heglqsmy/public_html/wp-content/plugins/woocommerce-product-addons/classes/class-product-addon-cart.php on line 321
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home4/heglqsmy/public_html/wp-content/plugins/woocommerce-product-addons/classes/class-product-addon-cart.php on line 338
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home4/heglqsmy/public_html/wp-content/plugins/woocommerce-product-addons/classes/class-product-addon-cart.php on line 371
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home4/heglqsmy/public_html/wp-content/plugins/woocommerce-product-addons/classes/class-product-addon-cart.php on line 390
【问题讨论】:
-
开启调试模式,查看调试日志是否有错误。
-
我在帖子中添加了调试消息
-
我已经解决了这个问题,如果其他人也有同样的问题,我想让你们知道,在搜索了这个问题后,我发现由于某种原因,div class "woocommerce-product-画廊”不透明度设置为 0,我使用 CSS 将其更改为 100% 并再次显示。谢谢你梅尔文的回答!
-
@Usman5251:你为什么删除你的答案?如果您找到解决方案,可以发布您自己问题的答案。事实上,这是积极鼓励的。
-
对,我已经取消删除了!谢谢。
标签: wordpress woocommerce