Title: Plugin error &#8211; breaks site
Last modified: August 21, 2016

---

# Plugin error – breaks site

 *  [TatumCreative](https://wordpress.org/support/users/tatumcreative/)
 * (@tatumcreative)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-breaks-site/)
 * You need to check for valid xml on line 144 of class.wp_current_weather.php. 
   It takes down the site otherwise. simplexml_load_string() returns false if the
   XML is not valid.
 * Errors generated:
 * Warning: simplexml_load_string(): Entity: line 2: parser error : Extra content
   at the end of the document in /home/tulsac/public_html/wp-content/plugins/current-
   weather/includes/class.wp_current_weather.php on line 144
 * Warning: simplexml_load_string(): in /home/tulsac/public_html/wp-content/plugins/
   current-weather/includes/class.wp_current_weather.php on line 144
 * Warning: simplexml_load_string(): ^ in /home/tulsac/public_html/wp-content/plugins/
   current-weather/includes/class.wp_current_weather.php on line 144
 * Notice: Trying to get property of non-object in /home/tulsac/public_html/wp-content/
   plugins/current-weather/includes/class.wp_current_weather.php on line 147
 * Fatal error: Call to a member function children() on a non-object in /home/tulsac/
   public_html/wp-content/plugins/current-weather/includes/class.wp_current_weather.
   php on line 147
 * XML Cache contents:
    <HEAD><TITLE>Maximum Transaction Time Exceeded</TITLE></
   HEAD> <BODY BGCOLOR=”white” FGCOLOR=”black”> <FONT FACE=”Helvetica,Arial”><B>
 * Maximum Transaction Time Exceeded</B></FONT>
    <!—default “Maximum Transaction
   Time Exceeded” response (504)—> </BODY>XML Cache contents: <HEAD><TITLE>Maximum
   Transaction Time Exceeded</TITLE></HEAD> <BODY BGCOLOR=”white” FGCOLOR=”black”
   > <FONT FACE=”Helvetica,Arial”><B>
 * Maximum Transaction Time Exceeded</B></FONT>
    <!—default “Maximum Transaction
   Time Exceeded” response (504)—> </BODY>
 * [http://wordpress.org/extend/plugins/current-weather/](http://wordpress.org/extend/plugins/current-weather/)

The topic ‘Plugin error – breaks site’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/current-weather.svg)
 * [Current Weather](https://wordpress.org/plugins/current-weather/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/current-weather/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/current-weather/)
 * [Active Topics](https://wordpress.org/support/plugin/current-weather/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/current-weather/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/current-weather/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [TatumCreative](https://wordpress.org/support/users/tatumcreative/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-breaks-site/)
 * Status: not resolved