Empty Block Results in Blank Page - Pulse 5


#1

Wow, banged my head against a wall for a while on this one. If a block is empty and it is included in a page using a code like: {{block:home/main}} the entire front end web page is blank/empty.

Can that be changed? It seems like if a block is empty - or even missing, if a user would delete it - it should just return an empty paragraph or div so the entire page is not destroyed. :frowning:


#2

Are you using 5.0.1?


#3

Yeah sounds like a bug that was fixed in 5.0.1 @vwatson :slight_smile:


#4

I am using 5.0.1. I tried deleting content from the blocks on a page to duplicate the error, but couldn’t reproduce it. When I have time, I’ll try it again. It seemed to happen when I first created the blocks and they had no content.


Pulse 5.0.2 is here! Updates, new stuff and fixes ⛑
#5

I was able to reproduce the error by creating a new block, not editing the block - therefore it is totally empty.

Then if I reference that block in a Pulse page, I do get a blank page on the front end of the site.

Using this code:
{{block:banners/home}}

and there is nothing in the home block.


#6

Thanks @vwatson for the steps - let us test this and then we’ll fix for 5.0.2

In the meantime - try not to run empty ones!


#7

Unfortunately, I can’t control what the client may or may not do. :sunglasses:


#8

Fixed in 5.0.2! :smiley::+1:
http://help.pulsecms.com/article/10-version-history


closed #9