• Hi!
    In our installation of Slide Anything PRO we have this in the error_log all the time:
    [09-May-2021 05:09:33 UTC] PHP Warning: DOMDocument::loadHTML(): Tag figure invalid in Entity, line: 4 in /public_html/bestbepic.com/wp-content/plugins/slide-anything/php/slide-anything-frontend.php on line 1256

    is there anything you can fix?

    Also, your contact form at the website doesn’t allow to send you messages, I’m getting 403 error.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Do you have the “Enable ‘Lazy Load’ Images” checkbox, under “Other Settings” ticked? (The line of code you identified is within the lazy-load PHP function).

    Also, the contact form on the website seems to be working fine. I’ve received loads of emails from it this weekend (too many ?? ), and I just did a test myself and I got the email. Maybe a temporary glitch?

    Plugin Author simonpedge

    (@simonpedge)

    I just did a test on the Image Popups slider on the demo page:
    https://edgewebpages.com/
    I enabled ‘Lazy Load Images’ and also switched on WordPress Debugging – I get no PHP warning messages.

    What version of PHP do you have on your hosting?
    (on EdgeWebPages.com I’m using PHP version 7.4, which is the recommended version for WordPress at the moment)

    Thread Starter alex29

    (@alex29)

    Lazy load is enabled, yes. Was using PHP 7.0, switching to 7.4 right now. Can’t detect which page triggers the error yet. Will let you know when I have more info.

    I am having same in my php error log..
    Warning: DOMDocument::loadHTML(): htmlParseEntityRef: expecting ‘;’ in Entity, line: 2 in /home/mySitePath/wp-content/plugins/slide-anything/php/slide-anything-frontend.php on line 1256

    I have checked “enable lazy load images’ in the other settings.

    Plugin Author simonpedge

    (@simonpedge)

    @djsteveo – what version of PHP do you have running on your hosting?

    Thread Starter alex29

    (@alex29)

    @simonpedge, confirming that after switching to the “recommended” version of PHP, I still have the same issue.

    @simonpedge php V 7.4 here – has been for a while..

    Plugin Author simonpedge

    (@simonpedge)

    I’m really struggling to replicate this error on my test/demo site:
    edgewebpages.com
    I have enabled the ‘Lazy Loading Images’ slider feature in a slider, I have WordPress Debug enabled in ‘wp-config.php’ file and I have PHP 7.4 installed on my host. I just don’t get the error message.

    This Lazy Loading feature was added to Slide Anything before WordPress Release 5.5, which now has lazy loading images built-in – see:
    https://make.www.ads-software.com/core/2020/07/14/lazy-loading-images-in-5-5/
    So this is now a bit of a redundant feature, which I should probably take out at some point. So for now I would disable this feature.

    And then inside your IMG tags you should see this attribute:
    loading="lazy"
    (as in this screenshot: https://i.imgur.com/Qw1e3Aa.png)

    On this demo page for example:
    https://edgewebpages.com/showcase-carousel-demo/
    I have not enabled lazy loading on the slider but these images have the “loading=’lazy'” attribute.

    • This reply was modified 3 years, 9 months ago by simonpedge.
    • This reply was modified 3 years, 9 months ago by simonpedge.
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘DOMDocument::loadHTML(): Tag figure invalid in Entity’ is closed to new replies.