[英]Why am I getting "Warning: array_filter() expects parameter 1 to be array, bool given" at the top of my website?
我的网站在页面顶部显示以下消息:
警告:array_filter() 期望参数 1 是数组,布尔值在 /home/customer/www/uniquecustomt-shirts.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-frontend-scripts.php 中给出第 65 行
有谁知道这可能是什么原因造成的? 我所有的插件都是最新的。
感谢您的宝贵时间,并感谢您的帮助。
有 3 种方法可以解决此警告: 1:在 wp-config 文件中添加以下代码 路径:/wp-config.php
// Disable display of errors and warnings
define( 'WP_DEBUG', false );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.