Notice (8): Trying to get property of non-object [APP/controllers/components/weather.php, line 74]Code |
Context
$return[0]['condition'] = strtolower((string)$parsed_json->{'current_observation'}->{'weather'});
$url = "https://api.wunderground.com/api/483209a9966f3588/conditions/lang:GR/q/Greece/Ioannina.json"
$this = WeatherComponent
WeatherComponent::$error = false
WeatherComponent::$location = "Ioannina Greece"
WeatherComponent::$result = NULL
WeatherComponent::$enabled = true
$http_response_header = array(
"HTTP/1.1 401 Unauthorized",
"Access-Control-Allow-Credentials: true",
"Access-Control-Allow-Origin: http://www.wunderground.com",
"Content-Encoding: gzip",
"Content-Type: application/json; charset=UTF-8",
"Server: Apache/2.2.15 (CentOS)",
"X-API-Error: true",
"X-CreationTime: 0.009",
"X-Varnish: 2887512181 2880075472",
"Content-Length: 179",
"Vary: Accept-Encoding",
"Expires: Mon, 09 Dec 2019 12:22:28 GMT",
"Cache-Control: max-age=0, no-cache",
"Pragma: no-cache",
"Date: Mon, 09 Dec 2019 12:22:28 GMT",
"Connection: keep-alive",
"X-Origin-Hint: Default"
)
$json_string = ""
$parsed_json = null
WeatherComponent::forecast() - APP/controllers/components/weather.php, line 74
ContactController::weather() - APP/controllers/contact_controller.php, line 76
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/views/elements/weather.ctp, line 1
View::_render() - CORE/cake/libs/view/view.php, line 724
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/views/contact/request.ctp, line 53
View::_render() - CORE/cake/libs/view/view.php, line 724
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Trying to get property of non-object [APP/controllers/components/weather.php, line 75]Code |
Context
$return[0]['condition'] = strtolower((string)$parsed_json->{'current_observation'}->{'weather'});
$return[0]['low'] = (string)$parsed_json->{'current_observation'}->{'temp_c'};
$url = "https://api.wunderground.com/api/483209a9966f3588/conditions/lang:GR/q/Greece/Ioannina.json"
$this = WeatherComponent
WeatherComponent::$error = false
WeatherComponent::$location = "Ioannina Greece"
WeatherComponent::$result = NULL
WeatherComponent::$enabled = true
$http_response_header = array(
"HTTP/1.1 401 Unauthorized",
"Access-Control-Allow-Credentials: true",
"Access-Control-Allow-Origin: http://www.wunderground.com",
"Content-Encoding: gzip",
"Content-Type: application/json; charset=UTF-8",
"Server: Apache/2.2.15 (CentOS)",
"X-API-Error: true",
"X-CreationTime: 0.009",
"X-Varnish: 2887512181 2880075472",
"Content-Length: 179",
"Vary: Accept-Encoding",
"Expires: Mon, 09 Dec 2019 12:22:28 GMT",
"Cache-Control: max-age=0, no-cache",
"Pragma: no-cache",
"Date: Mon, 09 Dec 2019 12:22:28 GMT",
"Connection: keep-alive",
"X-Origin-Hint: Default"
)
$json_string = ""
$parsed_json = null
$return = array(
array(
"condition" => ""
)
)
WeatherComponent::forecast() - APP/controllers/components/weather.php, line 75
ContactController::weather() - APP/controllers/contact_controller.php, line 76
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/views/elements/weather.ctp, line 1
View::_render() - CORE/cake/libs/view/view.php, line 724
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/views/contact/request.ctp, line 53
View::_render() - CORE/cake/libs/view/view.php, line 724
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Trying to get property of non-object [APP/controllers/components/weather.php, line 76]Code |
Context $return[0]['condition'] = strtolower((string)$parsed_json->{'current_observation'}->{'weather'});
$return[0]['low'] = (string)$parsed_json->{'current_observation'}->{'temp_c'};
$return[0]['high'] = (string)$parsed_json->{'current_observation'}->{'temp_c'};
$url = "https://api.wunderground.com/api/483209a9966f3588/conditions/lang:GR/q/Greece/Ioannina.json"
$this = WeatherComponent
WeatherComponent::$error = false
WeatherComponent::$location = "Ioannina Greece"
WeatherComponent::$result = NULL
WeatherComponent::$enabled = true
$http_response_header = array(
"HTTP/1.1 401 Unauthorized",
"Access-Control-Allow-Credentials: true",
"Access-Control-Allow-Origin: http://www.wunderground.com",
"Content-Encoding: gzip",
"Content-Type: application/json; charset=UTF-8",
"Server: Apache/2.2.15 (CentOS)",
"X-API-Error: true",
"X-CreationTime: 0.009",
"X-Varnish: 2887512181 2880075472",
"Content-Length: 179",
"Vary: Accept-Encoding",
"Expires: Mon, 09 Dec 2019 12:22:28 GMT",
"Cache-Control: max-age=0, no-cache",
"Pragma: no-cache",
"Date: Mon, 09 Dec 2019 12:22:28 GMT",
"Connection: keep-alive",
"X-Origin-Hint: Default"
)
$json_string = ""
$parsed_json = null
$return = array(
array(
"condition" => "",
"low" => ""
)
)
WeatherComponent::forecast() - APP/controllers/components/weather.php, line 76
ContactController::weather() - APP/controllers/contact_controller.php, line 76
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/views/elements/weather.ctp, line 1
View::_render() - CORE/cake/libs/view/view.php, line 724
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/views/contact/request.ctp, line 53
View::_render() - CORE/cake/libs/view/view.php, line 724
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Trying to get property of non-object [APP/controllers/components/weather.php, line 77]Code |
Context $return[0]['low'] = (string)$parsed_json->{'current_observation'}->{'temp_c'};
$return[0]['high'] = (string)$parsed_json->{'current_observation'}->{'temp_c'};
$return[0]['icon'] = $parsed_json->{'current_observation'}->{'icon_url'};
$url = "https://api.wunderground.com/api/483209a9966f3588/conditions/lang:GR/q/Greece/Ioannina.json"
$this = WeatherComponent
WeatherComponent::$error = false
WeatherComponent::$location = "Ioannina Greece"
WeatherComponent::$result = NULL
WeatherComponent::$enabled = true
$http_response_header = array(
"HTTP/1.1 401 Unauthorized",
"Access-Control-Allow-Credentials: true",
"Access-Control-Allow-Origin: http://www.wunderground.com",
"Content-Encoding: gzip",
"Content-Type: application/json; charset=UTF-8",
"Server: Apache/2.2.15 (CentOS)",
"X-API-Error: true",
"X-CreationTime: 0.009",
"X-Varnish: 2887512181 2880075472",
"Content-Length: 179",
"Vary: Accept-Encoding",
"Expires: Mon, 09 Dec 2019 12:22:28 GMT",
"Cache-Control: max-age=0, no-cache",
"Pragma: no-cache",
"Date: Mon, 09 Dec 2019 12:22:28 GMT",
"Connection: keep-alive",
"X-Origin-Hint: Default"
)
$json_string = ""
$parsed_json = null
$return = array(
array(
"condition" => "",
"low" => "",
"high" => ""
)
)
WeatherComponent::forecast() - APP/controllers/components/weather.php, line 77
ContactController::weather() - APP/controllers/contact_controller.php, line 76
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/views/elements/weather.ctp, line 1
View::_render() - CORE/cake/libs/view/view.php, line 724
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/views/contact/request.ctp, line 53
View::_render() - CORE/cake/libs/view/view.php, line 724
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Trying to get property of non-object [APP/controllers/components/weather.php, line 79]Code |
Context $return[0]['icon'] = $parsed_json->{'current_observation'}->{'icon_url'};
$return[0]['icon'] = str_replace('http:', 'https:', $return[0]['icon']);
$return[0]['humidity'] = $parsed_json->{'current_observation'}->{'relative_humidity'};
$url = "https://api.wunderground.com/api/483209a9966f3588/conditions/lang:GR/q/Greece/Ioannina.json"
$this = WeatherComponent
WeatherComponent::$error = false
WeatherComponent::$location = "Ioannina Greece"
WeatherComponent::$result = NULL
WeatherComponent::$enabled = true
$http_response_header = array(
"HTTP/1.1 401 Unauthorized",
"Access-Control-Allow-Credentials: true",
"Access-Control-Allow-Origin: http://www.wunderground.com",
"Content-Encoding: gzip",
"Content-Type: application/json; charset=UTF-8",
"Server: Apache/2.2.15 (CentOS)",
"X-API-Error: true",
"X-CreationTime: 0.009",
"X-Varnish: 2887512181 2880075472",
"Content-Length: 179",
"Vary: Accept-Encoding",
"Expires: Mon, 09 Dec 2019 12:22:28 GMT",
"Cache-Control: max-age=0, no-cache",
"Pragma: no-cache",
"Date: Mon, 09 Dec 2019 12:22:28 GMT",
"Connection: keep-alive",
"X-Origin-Hint: Default"
)
$json_string = ""
$parsed_json = null
$return = array(
array(
"condition" => "",
"low" => "",
"high" => "",
"icon" => ""
)
)
WeatherComponent::forecast() - APP/controllers/components/weather.php, line 79
ContactController::weather() - APP/controllers/contact_controller.php, line 76
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/views/elements/weather.ctp, line 1
View::_render() - CORE/cake/libs/view/view.php, line 724
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/views/contact/request.ctp, line 53
View::_render() - CORE/cake/libs/view/view.php, line 724
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Trying to get property of non-object [APP/controllers/components/weather.php, line 80]Code |
Context $return[0]['icon'] = str_replace('http:', 'https:', $return[0]['icon']);
$return[0]['humidity'] = $parsed_json->{'current_observation'}->{'relative_humidity'};
$return[0]['wind_condition'] = (string)$parsed_json->{'current_observation'}->{'wind_string'};
$url = "https://api.wunderground.com/api/483209a9966f3588/conditions/lang:GR/q/Greece/Ioannina.json"
$this = WeatherComponent
WeatherComponent::$error = false
WeatherComponent::$location = "Ioannina Greece"
WeatherComponent::$result = NULL
WeatherComponent::$enabled = true
$http_response_header = array(
"HTTP/1.1 401 Unauthorized",
"Access-Control-Allow-Credentials: true",
"Access-Control-Allow-Origin: http://www.wunderground.com",
"Content-Encoding: gzip",
"Content-Type: application/json; charset=UTF-8",
"Server: Apache/2.2.15 (CentOS)",
"X-API-Error: true",
"X-CreationTime: 0.009",
"X-Varnish: 2887512181 2880075472",
"Content-Length: 179",
"Vary: Accept-Encoding",
"Expires: Mon, 09 Dec 2019 12:22:28 GMT",
"Cache-Control: max-age=0, no-cache",
"Pragma: no-cache",
"Date: Mon, 09 Dec 2019 12:22:28 GMT",
"Connection: keep-alive",
"X-Origin-Hint: Default"
)
$json_string = ""
$parsed_json = null
$return = array(
array(
"condition" => "",
"low" => "",
"high" => "",
"icon" => "",
"humidity" => null
)
)
WeatherComponent::forecast() - APP/controllers/components/weather.php, line 80
ContactController::weather() - APP/controllers/contact_controller.php, line 76
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/views/elements/weather.ctp, line 1
View::_render() - CORE/cake/libs/view/view.php, line 724
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/views/contact/request.ctp, line 53
View::_render() - CORE/cake/libs/view/view.php, line 724
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Trying to get property of non-object [APP/controllers/components/weather.php, line 82]Code |
Context $return[0]['wind_condition'] = (string)$parsed_json->{'current_observation'}->{'wind_string'};
//ereg("Wind: ([W|S|E|N]) at ([0-9]+) mph", $return[0]['wind_condition'], $wind);
$return[0]['speed'] = $parsed_json->{'current_observation'}->{'wind_kph'};
$url = "https://api.wunderground.com/api/483209a9966f3588/conditions/lang:GR/q/Greece/Ioannina.json"
$this = WeatherComponent
WeatherComponent::$error = false
WeatherComponent::$location = "Ioannina Greece"
WeatherComponent::$result = NULL
WeatherComponent::$enabled = true
$http_response_header = array(
"HTTP/1.1 401 Unauthorized",
"Access-Control-Allow-Credentials: true",
"Access-Control-Allow-Origin: http://www.wunderground.com",
"Content-Encoding: gzip",
"Content-Type: application/json; charset=UTF-8",
"Server: Apache/2.2.15 (CentOS)",
"X-API-Error: true",
"X-CreationTime: 0.009",
"X-Varnish: 2887512181 2880075472",
"Content-Length: 179",
"Vary: Accept-Encoding",
"Expires: Mon, 09 Dec 2019 12:22:28 GMT",
"Cache-Control: max-age=0, no-cache",
"Pragma: no-cache",
"Date: Mon, 09 Dec 2019 12:22:28 GMT",
"Connection: keep-alive",
"X-Origin-Hint: Default"
)
$json_string = ""
$parsed_json = null
$return = array(
array(
"condition" => "",
"low" => "",
"high" => "",
"icon" => "",
"humidity" => null,
"wind_condition" => ""
)
)
WeatherComponent::forecast() - APP/controllers/components/weather.php, line 82
ContactController::weather() - APP/controllers/contact_controller.php, line 76
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/views/elements/weather.ctp, line 1
View::_render() - CORE/cake/libs/view/view.php, line 724
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/views/contact/request.ctp, line 53
View::_render() - CORE/cake/libs/view/view.php, line 724
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Trying to get property of non-object [APP/controllers/components/weather.php, line 83]Code |
Context //ereg("Wind: ([W|S|E|N]) at ([0-9]+) mph", $return[0]['wind_condition'], $wind);
$return[0]['speed'] = $parsed_json->{'current_observation'}->{'wind_kph'};
$return[0]['direction'] = $parsed_json->{'current_observation'}->{'wind_dir'};
$url = "https://api.wunderground.com/api/483209a9966f3588/conditions/lang:GR/q/Greece/Ioannina.json"
$this = WeatherComponent
WeatherComponent::$error = false
WeatherComponent::$location = "Ioannina Greece"
WeatherComponent::$result = NULL
WeatherComponent::$enabled = true
$http_response_header = array(
"HTTP/1.1 401 Unauthorized",
"Access-Control-Allow-Credentials: true",
"Access-Control-Allow-Origin: http://www.wunderground.com",
"Content-Encoding: gzip",
"Content-Type: application/json; charset=UTF-8",
"Server: Apache/2.2.15 (CentOS)",
"X-API-Error: true",
"X-CreationTime: 0.009",
"X-Varnish: 2887512181 2880075472",
"Content-Length: 179",
"Vary: Accept-Encoding",
"Expires: Mon, 09 Dec 2019 12:22:28 GMT",
"Cache-Control: max-age=0, no-cache",
"Pragma: no-cache",
"Date: Mon, 09 Dec 2019 12:22:28 GMT",
"Connection: keep-alive",
"X-Origin-Hint: Default"
)
$json_string = ""
$parsed_json = null
$return = array(
array(
"condition" => "",
"low" => "",
"high" => "",
"icon" => "",
"humidity" => null,
"wind_condition" => "",
"speed" => null
)
)
WeatherComponent::forecast() - APP/controllers/components/weather.php, line 83
ContactController::weather() - APP/controllers/contact_controller.php, line 76
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/views/elements/weather.ctp, line 1
View::_render() - CORE/cake/libs/view/view.php, line 724
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/views/contact/request.ctp, line 53
View::_render() - CORE/cake/libs/view/view.php, line 724
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Trying to get property of non-object [APP/controllers/components/weather.php, line 84]Code |
Context $return[0]['speed'] = $parsed_json->{'current_observation'}->{'wind_kph'};
$return[0]['direction'] = $parsed_json->{'current_observation'}->{'wind_dir'};
$return[0]['date'] = date('Y-m-d', strtotime($parsed_json->{'current_observation'}->{'local_time_rfc822'}));
$url = "https://api.wunderground.com/api/483209a9966f3588/conditions/lang:GR/q/Greece/Ioannina.json"
$this = WeatherComponent
WeatherComponent::$error = false
WeatherComponent::$location = "Ioannina Greece"
WeatherComponent::$result = NULL
WeatherComponent::$enabled = true
$http_response_header = array(
"HTTP/1.1 401 Unauthorized",
"Access-Control-Allow-Credentials: true",
"Access-Control-Allow-Origin: http://www.wunderground.com",
"Content-Encoding: gzip",
"Content-Type: application/json; charset=UTF-8",
"Server: Apache/2.2.15 (CentOS)",
"X-API-Error: true",
"X-CreationTime: 0.009",
"X-Varnish: 2887512181 2880075472",
"Content-Length: 179",
"Vary: Accept-Encoding",
"Expires: Mon, 09 Dec 2019 12:22:28 GMT",
"Cache-Control: max-age=0, no-cache",
"Pragma: no-cache",
"Date: Mon, 09 Dec 2019 12:22:28 GMT",
"Connection: keep-alive",
"X-Origin-Hint: Default"
)
$json_string = ""
$parsed_json = null
$return = array(
array(
"condition" => "",
"low" => "",
"high" => "",
"icon" => "",
"humidity" => null,
"wind_condition" => "",
"speed" => null,
"direction" => null
)
)
WeatherComponent::forecast() - APP/controllers/components/weather.php, line 84
ContactController::weather() - APP/controllers/contact_controller.php, line 76
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/views/elements/weather.ctp, line 1
View::_render() - CORE/cake/libs/view/view.php, line 724
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/views/contact/request.ctp, line 53
View::_render() - CORE/cake/libs/view/view.php, line 724
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Ο καιρός στην περιοχή
Notice (8): Uninitialized string offset: 0 [CORE/cake/libs/view/helpers/html.php, line 608]Code |
Context $path = $this->url($path);
} elseif (strpos($path, '://') === false) {
if ($path[0] !== '/') {
$path = ""
$options = array()
HtmlHelper::image() - CORE/cake/libs/view/helpers/html.php, line 608
include - APP/views/elements/weather.ctp, line 7
View::_render() - CORE/cake/libs/view/view.php, line 724
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/views/contact/request.ctp, line 53
View::_render() - CORE/cake/libs/view/view.php, line 724
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
°
Υγρασία:
Άνεμος: 0 χμ/ώ