Title: Error when embedding Instagram
Last modified: September 27, 2020

---

# Error when embedding Instagram

 *  [ms87](https://wordpress.org/support/users/ms87/)
 * (@ms87)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/error-when-embedding-instagram/)
 * When I try to embed an Instagram post with its embed code, I get the following
   error message
 * “Warning: DOMDocument::loadHTML(): Tag time invalid in Entity, line: 36 in /home/
   xxxxx/public_html/wp-content/plugins/slide-anything/php/slide-anything-frontend.
   php on line 1145” (with xxxxx being the path to my domain folder)
 * The embedded post shows up correctly but the error message is also visible front-
   end on the site.
 * Embedding the post by just adding the link doesn’t work as it only shows the 
   link then and not the actual post.
    -  This topic was modified 5 years, 8 months ago by [ms87](https://wordpress.org/support/users/ms87/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [simonpedge](https://wordpress.org/support/users/simonpedge/)
 * (@simonpedge)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/error-when-embedding-instagram/#post-13461772)
 * This is a warning and not an error message – this is a warning that some of the
   PHP code within the Instagram plugin has the potential to break and cause an 
   error. You say the Instagram posts are displaying correctly though.
 * Read this article:
    [https://aristath.github.io/blog/wp-hide-php-errors](https://aristath.github.io/blog/wp-hide-php-errors)
   For information on how to turn off PHP warnings and notices.
 * Also, when you embed the Instagram post with the normal page content(not the 
   slider), do you get this warning – try creating a blank test page to test this
   out.

Viewing 1 replies (of 1 total)

The topic ‘Error when embedding Instagram’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slide-anything.svg)
 * [Slide Anything - Responsive Content / HTML Slider and Carousel](https://wordpress.org/plugins/slide-anything/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slide-anything/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slide-anything/)
 * [Active Topics](https://wordpress.org/support/plugin/slide-anything/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slide-anything/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slide-anything/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [simonpedge](https://wordpress.org/support/users/simonpedge/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/error-when-embedding-instagram/#post-13461772)
 * Status: not resolved