Edit mode -> Global Area block -> "Edit Block" -> error

Permalink 1 user found helpful
Hi everyone!

I am developing a website for a client of mine and I've added global areas to the layout which are supposed to be editable.
When I am on the page (in edit mode) and I click on the block, which is in the global area, I can choose to "Edit Block".

When I click on that I see in my debugger tool it returns an internal server error (500).
Whoops\Exception\ErrorException thrown with message 
"Call to a member function getPackageHandle() on a non-object"
#0  in /home/*****/public_html/concrete/src/Block/View/BlockView.php:44

This is the code of line 44:
37.            $this->area = $mixed->getBlockAreaObject();
38.        } else {
39.            $this->blockType = $mixed;
40.            if ($this->blockType->controller) {
41.                $this->controller = $this->blockType->controller;
42.            }
43.        }
44.        $this->blockTypePkgHandle = $this->blockType->getPackageHandle();
45.        if (!isset($this->controller)) {
46.            if (isset($this->block)) {

Additional information:
* Concrete5 version:
* Template: Custom template
* Installed packages: Block Designer v.1.0.3

I really hope someone knows the answer for this problem. Thanks in advance!

- Stef

View Replies: View Best Answer
StefSmeers replied on at Permalink Best Answer Reply
Well, apparently it is just impossible to edit a Global Area in Edit mode.
I am supposed to just edit it via Dashboard > Stacks and Blocks