Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/clojure/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php WordPress相关问题_Php_Wordpress - Fatal编程技术网

Php WordPress相关问题

Php WordPress相关问题,php,wordpress,Php,Wordpress,如果我想去我的网站wp管理员,然后显示:我应该怎么做 警告:CloudFw_Walker_页面声明下拉列表::walk($elements, $max_depth)应与Walker::walk($elements、, $max_depth,$args)英寸 /home1/ducon/bangladeshwimmingpool.com/wp-content/themes/envision/cloudfw/core/framework/source.options.php 在线250 警告:无法修改

如果我想去我的网站wp管理员,然后显示:我应该怎么做

警告:CloudFw_Walker_页面声明下拉列表::walk($elements, $max_depth)应与Walker::walk($elements、, $max_depth,$args)英寸 /home1/ducon/bangladeshwimmingpool.com/wp-content/themes/envision/cloudfw/core/framework/source.options.php 在线250

警告:无法修改标题信息-标题已由发送 (输出开始于 /home1/ducon/bangladeshwimmingpool.com/wp-content/themes/envision/cloudfw/core/framework/source.options.php:250) 在/home1/ducon/bangladeshwimmingpool.com/wp-includes/pluggable.php中 在线1265

警告:无法修改标题信息-标题已由发送 (输出开始于 /home1/ducon/bangladeshwimmingpool.com/wp-content/themes/envision/cloudfw/core/framework/source.options.php:250) 在/home1/ducon/bangladeshwimmingpool.com/wp-includes/pluggable.php中 在线1268


在wp content/themes/your theme/cloudfw/core/framework/source.options.php中找到以下代码

public function walk( $elements, $max_depth) {
        $args = array_slice(func_get_args(), 2);
        $output = array();
只需在函数walk中添加…$args,如下代码所示:

public function walk( $elements, $max_depth,  ...$args) {
        $args = array_slice(func_get_args(), 2);
        $output = array();

享受和快乐编码

将主题升级到3.1.0版应该可以解决问题。快速解决方案是在wp-config.php文件中使wp_debug=false。它将删除您的警告。如果可用,请更新插件和主题以及wordpress版本。它有效,谢谢阿比德·哈桑先生。谢谢你这么大的帮助。