• Resolved ianstewart

    (@ianstewart)


    I have created my first SA Slider on the homepage of this site: ekhaya.org.uk (NOT ekhaya.org) and am getting the following message appear multiple times at the top of the page:

    Warning: DOMDocument::loadHTML(): Empty string supplied as input in /www1/f9d/www.ekhaya.org.uk/web/wp-content/plugins/slide-anything/php/slide-anything-frontend.php on line 680

    The site is using the X-theme and page editing is via Cornerstone.

    The slider itself appears to be functioning correctly, hoe can I eliminate this warning message?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ianstewart

    (@ianstewart)

    I have been to workaround the problem. I identified that the slides with no “foreground” content and only a “background” image are throwing the error. By adding a spurious period into the body of the slider page, and coloured the same as the background, the error messages are avoided.

    Is there a better way to have an image fill as much of the window as possible? I found that using the ‘Add Media’ option does not render images as large as adding them to the background.

    Ian

    Plugin Author simonpedge

    (@simonpedge)

    Ok, this error is occurring because you have the “Remove JavaScript Content” checkbox ticked.

    This new “Remove JavaScript Content” feature strips out any JavaScript from your slide content, but is unfortunately throwing out this error if you have no slide content to check in the first place.

    I will implement a fix for this shortly, but in the meantime, just un-check this box.

    Thread Starter ianstewart

    (@ianstewart)

    Thank you so much for your prompt reply Simon, much appreciated.

    Thanks too for the workround, I discovered that any kind of HTML in the page content overcomes the problem too, even <p></p>

    I look forward to the proper solution, but the pressure is off from my client.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: DOMDocument::loadHTML(): Empty string supplied as input’ is closed to new replies.