ErrorException [ Fatal Error ]:
Uncaught exception 'Fuel\Core\PhpErrorException' with message 'Undefined variable: filtered_properties' in /home/vhosts/travel360/v1/shared/modules/country/classes/model/country.php:65
Stack trace:
#0 /home/vhosts/travel360/v1/shared/fuel/core/bootstrap.php(98): Fuel\Core\Error::error_handler(8, 'Undefined varia...', '/home/vhosts/tr...', 65)
#1 /home/vhosts/travel360/v1/shared/modules/country/classes/model/country.php(65): {closure}(8, 'Undefined varia...', '/home/vhosts/tr...', 65, Array)
#2 /home/vhosts/travel360/v1/web/app/modules/country/classes/controller/country.php(63): Country\Model_country->get_properties_and_children()
#3 [internal function]: country\controller_country->action_view('145')
#4 /home/vhosts/travel360/v1/shared/modules/caching/classes/request.php(443): ReflectionMethod->invokeArgs(Object(country\controller_country), Array)
#5 /home/vhosts/travel360/v1/web/app/modules/httpnotfoundexception/classes/httpnotfoundexception.php(21): Request->execute()
#6 /home/vhosts/travel360/v1/shared/fuel
60 if ($p[$domain_map['db_field']]==1) { 61 $filtered_properties[] = $p; 62 } 63 } 64 65 return $filtered_properties; 66 67 68 } 69 70
61 \Cli::error("Error: ".$e->getMessage()." in ".$e->getFile()." on ".$e->getLine()); 62 \Cli::beep(); 63 exit(1); 64 } 65 } 66 return \Error::shutdown_handler(); 67}); 68 69set_exception_handler(function (\Exception $e) 70{ 71 // reset the autoloader