• Resolved MerelB

    (@mableb)


    Hello,

    I get the following error message under a lazy block in the backend:
    ‘Error loading block preview: A critical error has occurred on this site’
    In the console the following message:
    ‘Failed to load resource: the server responded with a status of 500 ()’

    Thanks in advance.

Viewing 9 replies - 1 through 9 (of 9 total)
  • engvar

    (@giuliocucchiaro)

    Hi. Same error after update to latest version.

    • This reply was modified 8 months, 1 week ago by engvar.

    Same error here. I’m getting 500 and 401 errors. They show the error spawning from “wp-json/lazy-blocks/v1/block-render?_locale=user”

    The 401 comes along with: An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.

    engvar

    (@giuliocucchiaro)

    It’s a problem with the php version. From version 8.0. (With the latest version of Lazyblock)

    With php version 7.4, the error disappears.

    • This reply was modified 8 months, 1 week ago by engvar.

    Ah, I thought that might be the problem, but I went in the opposite direction and upped from 8.1 to 2 to 3 to try and fix it. Hmm, don’t want to downgrade, hopefully the devs take a look, I’m sure it’s just a syntax hiccup

    Same here

    Plugin Author nK

    (@nko)

    Hi guys,

    Thank you for the info. We have reverted back the code for HTML string validation in v3.6.1. It will probably fix the issue you are talking about.

    If you still see it, please provide more info on how to reproduce it.

    Regards,
    Nikita.

    engvar

    (@giuliocucchiaro)

    Yeah. Now works!!! Thx

    Works perfectly, thank you! Is there a way to donate to this project other than getting a subscription? Lazy blocks is amazing, and I’d love to contribute

    Thread Starter MerelB

    (@mableb)

    Thanks, Nikita.

    It works.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Backend error’ is closed to new replies.