网页出错,因为我提供了无效的参数 [英] Error in webpage because i supplied an invalid argument

查看:114
本文介绍了网页出错,因为我提供了无效的参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在链接选项中输入无效参数时,我的网页(www.designyourspace.co)已开始显示错误。该网页是wordpress,其首页的源代码显然不能直接编辑。 (所以,我猜不能删除无效的参数)。



My webpage (www.designyourspace.co) has started showing error when I entered an invalid argument in the the link option. The webpage is of wordpress and source code of its front page is apparently not editable directly. (So, I cannot remove the invalid argument, I guess).

/*Check if Repeater is empty*/
function parallax_one_general_repeater_is_empty($parallax_one_arr){
	$parallax_one_services_decoded = json_decode($parallax_one_arr);
	foreach($parallax_one_services_decoded as $parallax_box){
		if(!empty($parallax_box->choice) && $parallax_box->choice == 'parallax_none'){
			$parallax_box->icon_value = '';
			$parallax_box->image_url = '';
		}
		foreach ($parallax_box as $key => $value){
			if(!empty($value) && $key!='choice' && $key!='id' && ($value!='No Icon' && $key=='icon_value') ) {
				return false;
			}
		}
	}
	return true;
}





这是显示错误的网页代码部分。



请告诉我是否需要更具描述性。



我尝试了什么:



此处也发布了相同的问题,但没有人帮忙! :(

http://stackoverflow.com/questions/35817991/unable-yo-customize-wordpress-page-because-i-supplied-an-invalid-argument-somewh?lq=1



This is the part of code of webpage which shows error.

Please tell me if I have to be more descriptive.

What I have tried:

Also posted the same ques here but no one helped! :(
http://stackoverflow.com/questions/35817991/unable-yo-customize-wordpress-page-because-i-supplied-an-invalid-argument-somewh?lq=1

推荐答案

parallax_one_arr){
parallax_one_arr){


parallax_one_services_decoded = json_decode(
parallax_one_services_decoded = json_decode(


parallax_one_arr);
foreach(
parallax_one_arr); foreach(


这篇关于网页出错,因为我提供了无效的参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆