Hello!
We’d love to use your plugin but when we either drag the widget into our sidebar or use the shortcode in a page, the following error message displays:
Warning: simplexml_load_file(
https://api.worldweatheronline.com/free/v1/weather.ashx?q=Yangshuo&num_of_days=5&format=xml&key=918b0f619c0b8b69fc8af103360d4)
[function.simplexml-load-file]: failed to open stream: HTTP request failed!
HTTP/1.1 403 Forbidden in
/home/yangshuo/public_html/wp-content/plugins/wp-world-weather-online/wp-world-weather-online.php
on line 153
Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning
: failed to load external entity “
https://api.worldweatheronline.com/free/v1/weather.ashx?q=Yangshuo&num_of_days=5&format=xml&key=918b0f619c0b8b69fc8af103360d4″
in
/home/yangshuo/public_html/wp-content/plugins/wp-world-weather-online/wp-world-weather-online.php
on line 153
?Any idea what this means and how it could be resolved?
Thank you!
Gerd
I just downloaded this plugin to try it out. But unfortunately I’m getting the below code warning messages instead of weather forecast [I hid API key in this code]:
Warning: Missing argument 6 for wp_wwo::buildWidget(), called in /homepages/5/d353472482/htdocs/acropost-en/wp-content/plugins/wp-world-weather-online/wp-world-weather-online.php on line 267 and defined in /homepages/5/d353472482/htdocs/acropost-en/wp-content/plugins/wp-world-weather-online/wp-world-weather-online.php on line 190
Warning: simplexml_load_file(https://api.worldweatheronline.com/free/v1/weather.ashx?q=Paris&num_of_days=5&format=xml&key=00000000): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /homepages/5/d353472482/htdocs/acropost-en/wp-content/plugins/wp-world-weather-online/wp-world-weather-online.php on line 153
Warning: simplexml_load_file(): I/O warning : failed to load external entity “https://api.worldweatheronline.com/free/v1/weather.ashx?q=Paris&num_of_days=5&format=xml&key=00000000” in /homepages/5/d353472482/htdocs/acropost-en/wp-content/plugins/wp-world-weather-online/wp-world-weather-online.php on line 153
Any suggestions?
]]>