Error on inserting image using Image Block

Permalink
On Concrete5 5.7.5.6 (latest version), On Inserting or replacing image using image block, gives below error.

$cx = \Stack::getByName($_REQUEST['arHandle']); } $b = \Block::getByID($_REQUEST['bID'], $cx, $ax); $pr = new \Concrete\Core\Page\EditResponse(); $pr->setPage($this->page); $bi = $b->getInstance(); if ($b->getBlockTypeHandle() == BLOCK_HANDLE_SCRAPBOOK_PROXY) { $_b = \Block::getByID($bi->getOriginalBlockID());

1 Attachment

srjahir32
 
ramonleenders replied on at Permalink Reply
ramonleenders
Remove the "}" maybe?

<?php
$cx = \Stack::getByName($_REQUEST['arHandle']);
$b = \Block::getByID($_REQUEST['bID'], $cx, $ax);
$pr = new \Concrete\Core\Page\EditResponse();
$pr->setPage($this->page);
$bi = $b->getInstance();
if ($b->getBlockTypeHandle() == BLOCK_HANDLE_SCRAPBOOK_PROXY) {
    $_b = \Block::getByID($bi->getOriginalBlockID());
}