Click here to Skip to main content
15,881,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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).

HTML
/*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;
}


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
Posted
Updated 8-Mar-16 0:00am
v2
Comments
CHill60 8-Mar-16 6:13am    
You said you entered an invalid argument - so don't enter it? It would help if you described the error.

This does look like a site-driving post however
Nabhdeep Bansal 9-Mar-16 1:00am    
The problem is that the place where I entered invalid argument in customization window of the site is now not showing up. So, I cannot directly delete the invalid attribute. Is there any place in the cpanel file documentation where all my input attributes get saved? I think I can delete it from that file if I am able to get it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900