Title: Error with widget display
Last modified: September 11, 2023

---

# Error with widget display

 *  Resolved [cirrus675](https://wordpress.org/support/users/cirrus675/)
 * (@cirrus675)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-with-widget-display/)
 * This afternoon, our weather widget started displaying the following:
 * Failure notice from provider:
   Connection Error:http_request_failed
 * Do you know what this means and if there’s anything I can do to fix it?
 * thanks!

Viewing 15 replies - 1 through 15 (of 49 total)

1 [2](https://wordpress.org/support/topic/error-with-widget-display/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/error-with-widget-display/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/error-with-widget-display/page/4/?output_format=md)
[→](https://wordpress.org/support/topic/error-with-widget-display/page/2/?output_format=md)

 *  Plugin Author [tuxlog](https://wordpress.org/support/users/tuxlog/)
 * (@tuxlog)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17043240)
 * Well, this messagemeans the plugin can not get the weather data. Did you try 
   a connection test (admin panel of wp-forecast) to see if something is wrong with
   the connection parameters.
 * Do you use accuweather or OpenWeatherMap?
 *  Thread Starter [cirrus675](https://wordpress.org/support/users/cirrus675/)
 * (@cirrus675)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17044695)
 * Hi and thanks for your reply. We’re using Accuweather as the source and default
   as the method.
 * I tested the connection (see log results below) and it was fine, but the weather
   still doesn’t display. Instead of a test, I just get the location name and a 
   degree symbol. The temperature and icon are blank.
 * This is also happening on another site on the same server, but not on a third
   site that’s hosted elsewhere. What do you think?
 * Checking for Weatherprovider Accuweather
   Checking default transportTest was successfull.
   Fetched 1195 Bytes in 0 seconds.Checking fsockopen transportTest was successfull.
   Fetched 1195 Bytes in 0 seconds.Checking exthttp transportTest was successfull.
   Fetched 1195 Bytes in 0 seconds.Checking streams transportTest was successfull.
   Fetched 1195 Bytes in 0 seconds.Checking curl transportTest was successfull.Fetched
   1195 Bytes in 0 seconds.
 * cheers,
   L
 *  Plugin Author [tuxlog](https://wordpress.org/support/users/tuxlog/)
 * (@tuxlog)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17044796)
 * Thanks for your replay, meanwhile I figured out accuweather has either server
   problems or disabled the free api. So the only solution at th emoment is switching
   to OpenWeatherMap, but you must get an API key to use it. I will check if I can
   find another easier to use Weatherdataprovider as an better alternative.
 *  Thread Starter [cirrus675](https://wordpress.org/support/users/cirrus675/)
 * (@cirrus675)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17045302)
 * Gotcha — I’ll give OpenWeatherMap a try in the meantime. I can’t remember if 
   I tried it once before, but I’ll do it in the next day or so and let you know
   how it goes.
 * thanks again,
   L
 *  [olsyrova](https://wordpress.org/support/users/olsyrova/)
 * (@olsyrova)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17047181)
 * I am facing the same problem, weather widget does not display data since yesterday
   afternoon. I checked the output of
 * `wp_forecast_data($wpfcid, $wpf_language); `
 * in debug.log. Looks like the API is being called, but the JSON fields are not
   set as expected, e.g.
 * `[fc_dt_icon_1] => icons/.gif `
 * or
 * `[fc_dt_htemp_1] => &deg`
 *  Plugin Author [tuxlog](https://wordpress.org/support/users/tuxlog/)
 * (@tuxlog)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17047796)
 * After analyzing it, seems accuweather discontinued the api .. trying to fetch
   the data reeults in HTTP 404 error.
 * At the moment OPenweathermap is one alternative.
 * I am working on integrating Openmeteo.com to have one way to go without API and
   registration..
 * This will be released within a few days.
 *  [olsyrova](https://wordpress.org/support/users/olsyrova/)
 * (@olsyrova)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17048128)
 * thanks a lot for the quick response!
 * Just confirming, by using Openweathermap as an alternative you mean the second
   option from the dropdown in the plugin settings, which is called dark sky, right?
 *  Plugin Author [tuxlog](https://wordpress.org/support/users/tuxlog/)
 * (@tuxlog)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17048400)
 * Dark Sky was removed in Version 8.6, because it was discontinued by the new owner
   facebook / meta.
 * So it is OpenWEathermap which stays as an alternative.
 * My first test with Openmeteo are successful, think I can release it until weekend.
 *  Thread Starter [cirrus675](https://wordpress.org/support/users/cirrus675/)
 * (@cirrus675)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17048435)
 * I tried the OpenWeatherMap service and got an API key. But it still doesn’t work.
   The error displayed is:
 * Failure notice from provider: A
 * I also noticed that since yesterday, the admin page has stopped saving the Long
   and Lat entries — they’re empty. I re-entered them, saved, and those fields are
   still empty. That wasn’t the case a couple days ago.
 * The plugin is working however on a site running on WP Engine web host. 
   But not
   on our server. Is something missing all of a sudden at our end that your plugin
   needs to communicate with any service? I know we have cURL. Not sure about fsockopen
   and stream, but I’m guessing they’re there too. What is the default for transfer
   method? I have it set at default.
 * thanks for your help!
 *  Thread Starter [cirrus675](https://wordpress.org/support/users/cirrus675/)
 * (@cirrus675)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17048436)
 * Here’s the result of the weather connection check — still good:
 * Checking for Weatherprovider OpenWeatherMap
   Checking default transport     Test
   was successfull.     Fetched 108 Bytes in 0 seconds.Checking fsockopen transport
   Test was successfull.     Fetched 108 Bytes in 0 seconds.Checking exthttp transport
   Test was successfull.     Fetched 108 Bytes in 0 seconds.Checking streams transport
   Test was successfull.     Fetched 108 Bytes in 0 seconds.Checking curl transport
   Test was successfull.     Fetched 108 Bytes in 0 seconds.
 *  Plugin Author [tuxlog](https://wordpress.org/support/users/tuxlog/)
 * (@tuxlog)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17048541)
 * Do you have an API Key for OpenWeaterMap V3 or OpenWeatherMap? Please try both
   settings and you should check if you have the latest version of wp-forecast 8.7
   installed. If it worked before you can leave transport at default.
 *  [olsyrova](https://wordpress.org/support/users/olsyrova/)
 * (@olsyrova)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17048927)
 * looking forward to the plugin update! thanks a lot for maintaining it!
 *  Plugin Author [tuxlog](https://wordpress.org/support/users/tuxlog/)
 * (@tuxlog)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17052407)
 * Just released v8.8 with support for OpenMeteo. Please let me know if you encounter
   any problems. All accuweather widgets should be converted to OpenMeteo automatically.
 *  [dararede](https://wordpress.org/support/users/dararede/)
 * (@dararede)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17057508)
 * Hi! I had same problem with error: Failure notice from provider: Connection Error:
   http_request_failed.
 * Now I updated to latest version but it did not transfer to Open-Meteo automatically,
   but rather default Weatherservice is OWM. By switching to Open-Meteo manually
   I got error No OpenMeteo data available.
 * I tried search function but I can’t find any location, I tried Berlin for example
   still nothing.
    -  This reply was modified 2 years, 8 months ago by [dararede](https://wordpress.org/support/users/dararede/).
 *  Plugin Author [tuxlog](https://wordpress.org/support/users/tuxlog/)
 * (@tuxlog)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/error-with-widget-display/#post-17057952)
 * Hi dararede, can yout try to enter longitude and latitude manually, save it and
   see what happends and before please try connection test and share the results

Viewing 15 replies - 1 through 15 (of 49 total)

1 [2](https://wordpress.org/support/topic/error-with-widget-display/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/error-with-widget-display/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/error-with-widget-display/page/4/?output_format=md)
[→](https://wordpress.org/support/topic/error-with-widget-display/page/2/?output_format=md)

The topic ‘Error with widget display’ is closed to new replies.

 * ![](https://ps.w.org/wp-forecast/assets/icon-128x128.png?rev=1515240)
 * [wp-forecast](https://wordpress.org/plugins/wp-forecast/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-forecast/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-forecast/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-forecast/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-forecast/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-forecast/reviews/)

 * 49 replies
 * 5 participants
 * Last reply from: [darrjess](https://wordpress.org/support/users/darrjess/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/error-with-widget-display/page/4/#post-17120675)
 * Status: resolved