int(2) string(39) "Invalid argument supplied for foreach()" string(61) "/home/renterre/public_html/Model/PropertyAdditionalMaster.php" int(373)

Error

 
[2] 
Invalid argument supplied for foreach()
@line /home/renterre/public_html/Model/PropertyAdditionalMaster.php in file 373

Debug Backtrace

#1 property.php:232 -- PropertyAdditionalMaster->getProAddById(...)
229: 	 
230: 	 // Get Additional Details 
231: 		
232: 	$ObjPropertyAdditionalDataTmp	=	$ObjPropertyAdditionalMaster->getProAddById($seaArr);
233: 	$ObjPropertyAdditionalData		=	$ObjPropertyAdditionalDataTmp[0];
234: 	 
235: 	$leasing_terms			=	$ObjPropertyAdditionalData->leasing_terms;
#2 common.php:297 -- include(...)
294: 	  // Check file exist within this subdomain - if not redirect user to Rr
295: 	 if(file_exists(DIR_INTERNAL_INCLUDE_PATH."/".$filename11)){
296: 	  	 // Fetch page from Subdomain directory
297: 		  include(DIR_INTERNAL_INCLUDE_PATH."/".$filename11);
298: 		  exit;
299: 	  }elseif(strtolower(dirname($_SERVER['SCRIPT_NAME'])) == "/sitecpanel" || strtolower(dirname($_SERVER['SCRIPT_NAME'])) == "sitecpanel"){
300: 	  	 	if(basename($_SERVER['SCRIPT_NAME'])!='getRenterCity.php'){
#3 property.php:3 -- require_once(...)
1: <?php
2: 	
3: 	require_once("lib/common.php");
4: 
5: 	/**
6: 	 * Here comes the code for the PHP data fetching and database code