• Resolved regnalf

    (@regnalf)


    When using HTML Block a “Block rendering failed” error comes!

    The Newsletter Plugin Version 7.5.9

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    Hi,

    this kind of error is shown when the block cannot be generated. Which block is giving that error? If it is a PHP fatal error, WP should be able to send an emai to the admin email address with more details. Or the error could be logged in the server’s “error logs”.

    Thread Starter regnalf

    (@regnalf)

    It’s the normal HTML Block from the Newsletter Visual Composer, error log shows nothing!

    Plugin Author Stefano Lissa

    (@satollo)

    Uhm, that block has no “rendering” code that could lead to an error, I suspect there is a security module blocking the communication. The block returns and error when you drag it in the composer the first time or after you set some content?

    Thread Starter regnalf

    (@regnalf)

    It happens right when i want to drag it to the mail. I breaks before the html element would be visibile. So i cannot enter anything in the html because the option elements are not there.

    Plugin Author Stefano Lissa

    (@satollo)

    Ok, every other block is ok? If you know how to use the browser console, this is the only way to check for errors, particularly in the answer from the site when the block is dragged. Otherwise we need to move with a direct contact and I can try to debug it myself.

    Thread Starter regnalf

    (@regnalf)

    Sure, how can we get in touch?

    Plugin Author Stefano Lissa

    (@satollo)

    Write me at stefano@ plus the plugin site domain. ??

    Plugin Author Stefano Lissa

    (@satollo)

    We discovered it’s a mod_security problem, probably it can be solved by the provider. If someone else has a similar problem, one of the tests to do is to temporarily disable the mod_security and find out if that is the error reason.

    We’re working with @regnalf to solve it and if there are useful discoveries we’ll post them.

    Can I add something to this please? Over the years, I’ve had quite a few problems with mod_security – and my hosting provider is unable to disable it because I’m on a shared server plan. I can control many mods via the control panel – but not that one. This may be the case for many users.

    If the plugin can be recoded in a way that avoids mod_security altogether, then I’d be delighted!

    Plugin Author Stefano Lissa

    (@satollo)

    Hi @adamnz , sure this is an option we need to consider. In that specific case, mod_security is blocking the request just for the “html” word in the data… of course, the “html” word is nothing else than the name of the block… and is not always easy to recode everything… anyway we need to take care of that.

    Thank you!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘HTML Block rendering failed’ is closed to new replies.