Hi all,

Sometimes I write an edit block link such as example.com/admin/structure/block/manage/block/117/configure in my notes. I have noticed that if I click a link to edit a block that does not exist (eg because it has since been deleted) I get a white screen. Is that expected behaviour? Surely I should get e helpful message such as "sorry that block does not exist"...

Comments

Juc1’s picture

Title: Edit non-existent block = white screen » url to edit non-existent block = white screen
dcam’s picture

Version: 7.34 » 7.x-dev
Category: Support request » Bug report

I can verify this bug. I got a Fatal error: Unsupported operand types in C:\wamp\www\d7test\modules\block\block.module on line 519, which is in block_custom_block_form(). The error just means that the $edit parameter didn't contain an array as expected.

Anyway, we probably should find a way to return a 404 instead of letting the page WSOD.

dcam’s picture

Status: Active » Closed (duplicate)