The plugin has a weird error
-
Hi there all. I’m having a problem with this plugin “WP-Cloudy”. It’s very odd and I don’t have much of a fix or an explanation for it. Let me explain.
Basically what happens is I set up a page to get weather. It works fine for a while until the next weather update. Basically I have it set up in the “Display options” of the plugin that it will clear the cache every 90 minutes. However, when this is turned on, after the weather is updated, it spits out a weird sounding error:
Fatal error: Call to a member function asXML() on a non-object in /home/content/63/4026363/html/wp-content/plugins/wp-cloudy/wpcloudy.php on line 2038
I took a look at the code and it seems like it’s either having problems finding the location, or possibly getting the weather report. But, I’ve checked numerous different times and have confirmed the city is definitely on OpenWeatherMap. What’s even stranger is that if I update the page manually, it fixes the problem and displays fine.
I really don’t want to update my page every time I want the weather to update! Is there any way to fix this bug? I really like this plugin and don’t want to switch. Thanks
- The topic ‘The plugin has a weird error’ is closed to new replies.