• 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.
Viewing 1 replies (of 1 total)
  • Plugin Author simonpedge

    (@simonpedge)

    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
    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.