• Resolved plequere

    (@plequere)


    Hello, I’m excited to try your plugin, but no matter what options I choose, the mockup does not render. Instead, I see “Block rendered as empty.” in the Gutenberg editor, and nothing on the resulting page. How can I investigate this issue and what diagnostic info do you need? Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter plequere

    (@plequere)

    Alright, I debugged into it.

    The site that I am working on is currently protected, so the following call:
    $response = wp_remote_get( $device_url );

    fails in shortcode( $atts, $content = null )

    Plugin Author Bogdan Bendziukov

    (@barb0ss)

    Hey @plequere ,

    What kind of protection does it use? Is it a firewall or a simple HTTP password authentication?

    Thread Starter plequere

    (@plequere)

    Hi Bogdan, it’s a staging site protected with basic auth.

    Plugin Author Bogdan Bendziukov

    (@barb0ss)

    Hi @plequere,

    I’ve just updated the plugin and changed the way it grabs the SVG code for the devices. So now it should work with protected sites.

    Please update the plugin to the latest version and let me know if it works for you.

    Thread Starter plequere

    (@plequere)

    It works great! Thanks so much for your help and for the quick turnaround.

    Plugin Author Bogdan Bendziukov

    (@barb0ss)

    Glad to hear that, you’re welcome!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘“Block rendered as empty” error’ is closed to new replies.