Support » Plugin: Simply Static » Uncaught RuntimeException: Not valid HTML fragment!

  • Resolved Gulshan Kumar

    (@thegulshankumar)


    There was few ajax requests and then nothing.. randomly below error popped up.

    [2021-04-01 04:40:26] Setting up
    [2021-04-01 04:40:26] Error: (1) Uncaught RuntimeException: Not valid HTML fragment! img.wp-smiley%2Cimg.emoji%7Bdisplay%3Ainline%21important%3Bborder%3Anone%21important%3Bbox-shadow%3Anone%21important%3Bheight%3A1em%21important%3Bwidth%3A1em%21important%3Bmargin%3A0.07em%21important%3Bvertical-align%3A-.1em%21important%3Bbackground%3A00%21important%3Bpadding%3A0%21important%7D%3Aroot%7B--wp-admin-theme-color%3A%23007cba%3B--wp-admin-theme-color-darker-10%3A%23006ba1%3B--wp-admin-theme-color-darker-20%3A%23005a87%7D%23start-resizable-editor-section%7Bdisplay%3Anone%7D.wp-block-audiofigcaption%7Bmargin-top%3A.5em%3Bmargin-bottom%3A1em%7D.wp-block-audioaudio%7Bwidth%3A100%25%3Bmin-width%3A300px%7D.wp-block-button__link%7Bcolor%3A%23fff%3Bbackground-color%3A%2332373c%3Bborder%3Anone%3Bborder-radius%3A1.55em%3Bbox-shadow%3Anone%3Bcursor%3Apointer%3Bdisplay%3Ainline-block%3Bfont-size%3A1.125em%3Bpadding%3A.667em1.333em%3Btext-align%3Acenter%3Btext-decoration%3Anone%3Boverflow-wrap%3Abreak-word%7D.wp-block-button__link%3Aactive%2C.wp-block-button_ in /var/www/example.com/public/wp-content/plugins/simply-static/vendor/voku/simple_html_dom/src/voku/helper/SimpleHtmlDom.php on line 176
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author patrickposner

    (@patrickposner)

    Hey @thegulshankumar,

    have you excluded the emoji within the Simply Static settings?
    The error message is more or less self-explanatory – you can not export non-valid HTML with Simply Static.

    Thread Starter Gulshan Kumar

    (@thegulshankumar)

    Okay…

    Thanks for the response.

    I can clearly see that this is the issue for generating the static file.
    I see the option to exclude urls, can you please assist me more on this I do not know how to exclude the emoji I have tried several different variations of the forward slashes and backslashes. I don’t know if I have typed the right URL, can someone please tell me what the url should be.

    Can you please advise me on how to exclude the emoji?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.