Support » Plugins and Hacks » WP Google Weather » [Plugin: WP Google Weather] Warning: simplexml_load_string()

[Plugin: WP Google Weather] Warning: simplexml_load_string()

Viewing 15 replies - 1 through 15 (of 18 total)
  • I’m having the same issue. Apparently, Google changed something…

    I’m going to test another plugin: http://wordpress.org/extend/plugins/weather-and-weather-forecast-widget/

    WP Google Weather was more simple, and customizable for me.

    I’m having the same issue. Apparently, Google changed something…

    It’s a captcha that you have to solve before Google provides the xml sheet with weather data…

    I’m also experiencing this issue. Is there a way to solve this or we need to look for another plugin or API service?


    I have similar problem, but I found a solution (temporary, until to update!)

    Into file wp-google-weather.php paste code

    ini_set('display_errors', '0');
    ini_set('error_reporting', '0');

    This code will not show warning anymore, just a blank WP Google Weather form.

    Sorry for my bad english, I hope it will help you!

    I thought that this might be caused by too many request from our IP address. So we have modified plugin code so it fetches weather data from google every 1 hour and stores it in xml file. Request within following hour are extraced from that (local) xml file.

    But it didn’t solve our issue. Every hour, when data is fetched from google, there is an error. Weird thing is that everything is written in xml file just fine, and all following request that read data from xml file work great.

    I have changed wp_remote_fopen to file_get_contents and, for now, it works well.

    @piotrekp how did you do this?
    Just replacing “wp_remote_fopen” with “file_get_contents” (at line ~159) doesnt seem to change anything.

    I thought it was working 🙁 Now I get error “error on line 1 at column 1: Document is empty” when I type in browser this link: http://www.google.pl/ig/api?weather=beijing&oe=utf-8&hl=pl

    We’re sorry…

    … but your computer or network may be sending automated queries. To protect our users, we can’t process your request right now.

    So there is problem with Google. But as far as I know, my proposal wasn’t good enough – changing wp_remote_fopen doesn’t seem to fix the problem.

    btw ive switched to another plugin. not that pleasant but unless we dont find a fix, it is a solution.

    fourgood can u please tell the name of that plugin? I need a similiar weather plugin that I can embed into posts.


    We can’t fix it, it’s not plugin related. Google shut down Weather API.
    You can read more about this here: http://goo.gl/AEqYs

    We all have to switch to another plugin.
    Most are overly complicated with too many options, this one was a good mesure for us, too bad.

    @gezginrocker im using “GoGadget Weather and Weatherforecast Widget”. Many many options and looks pretty nice.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘[Plugin: WP Google Weather] Warning: simplexml_load_string()’ is closed to new replies.