Title: Errors when class is entered
Last modified: August 21, 2016

---

# Errors when class is entered

 *  [trishahdee](https://wordpress.org/support/users/trishahdee/)
 * (@trishahdee)
 * [13 years ago](https://wordpress.org/support/topic/errors-when-class-is-entered/)
 * I am using the Random Text widget ([http://www.pantsonhead.com/wordpress/randomtext/](http://www.pantsonhead.com/wordpress/randomtext/))
   along with the Custom Sidebars plugin ([http://marquex.es/698/custom-sidebars-1-0](http://marquex.es/698/custom-sidebars-1-0))
 * When I enter a css class into the Random Text widget, I get the following errors:
 * >  Warning: simplexml_load_string() [function.simplexml-load-string]: Entity:
   > line 1: parser error : Opening and ending tag mismatch: section line 1 and 
   > div in /home/site/public_html/site.com/site/wp-content/plugins/simple-css-for-
   > widgets/simplecsswidgets.php on line 129
   > Warning: simplexml_load_string() [function.simplexml-load-string]: <section
   > id=”randomtext-2″ class=”widget randomtext”>#splt#</div></section> in /home/
   > site/public_html/site.com/site/wp-content/plugins/simple-css-for-widgets/simplecsswidgets.
   > php on line 129
   > Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/
   > site/public_html/site.com/site/wp-content/plugins/simple-css-for-widgets/simplecsswidgets.
   > php on line 129
   > Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: 
   > line 1: parser error : Extra content at the end of the document in /home/site/
   > public_html/site.com/site/wp-content/plugins/simple-css-for-widgets/simplecsswidgets.
   > php on line 129
   > Warning: simplexml_load_string() [function.simplexml-load-string]: <section
   > id=”randomtext-2″ class=”widget randomtext”>#splt#</div></section> in /home/
   > site/public_html/site.com/site/wp-content/plugins/simple-css-for-widgets/simplecsswidgets.
   > php on line 129
   > Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/
   > site/public_html/site.com/site/wp-content/plugins/simple-css-for-widgets/simplecsswidgets.
   > php on line 129
   > Fatal error: Call to a member function asXML() on a non-object in /home/site/
   > public_html/site.com/site/wp-content/plugins/simple-css-for-widgets/simplecsswidgets.
   > php on line 136 – See more at: [http://virgincoconutoiluses.com/coconut-oil-antifungal-properties/#sthash.A8K2lJE0.WjZwsBif.dpuf](http://virgincoconutoiluses.com/coconut-oil-antifungal-properties/#sthash.A8K2lJE0.WjZwsBif.dpuf)
 * I don’t know where the conflict is. If I remove the css class then I get no errors
   even though your plugin is still active.
 * [http://wordpress.org/extend/plugins/simple-css-for-widgets/](http://wordpress.org/extend/plugins/simple-css-for-widgets/)

The topic ‘Errors when class is entered’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-css-for-widgets.svg)
 * [Simple CSS for widgets](https://wordpress.org/plugins/simple-css-for-widgets/)
 * [Support Threads](https://wordpress.org/support/plugin/simple-css-for-widgets/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-css-for-widgets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-css-for-widgets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-css-for-widgets/reviews/)

## Tags

 * [css-class](https://wordpress.org/support/topic-tag/css-class/)

 * 0 replies
 * 1 participant
 * Last reply from: [trishahdee](https://wordpress.org/support/users/trishahdee/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/errors-when-class-is-entered/)
 * Status: not resolved