Problem: Error when sending Legacy form

Hi.

Concrete version: 9.5.4

When sending Legacy form, it fails. When I check log:
Uncaught Error: Call to undefined method Concrete\Block\Form\Controller::view()

Is this bug in version ? When I check directory path, it it:
Concrete\Blocks\Form\… so not Block, but Blocks.
**
If not, what can cause that ?

**
Greetings,
Jani Enilä

In concrete/blocks/form/controller.php find line 339 and comment out the code like this
From this

$this->view();

To this

// $this->view();

And try sending again.

Hi.

Thanks for answer. Unfortunately it won’t help.

concrete\blocks\form\controller.php looks now like this:

…
public function action_submit_form($bID = false)
{
if ($this->bID != $bID) {
return false;
}

$ip = Core::make('helper/validation/ip');

// $this->view();

    if ($ip->isBanned()) {

…

And I’ve cleared cache from site. Same error occurs.

Well, I tried to make suggested change also to this file:
/public_html/updates/concrete-cms-9.5.4-remote-updater/concrete/blocks/form/controller.php

and cleared cache.

Now it works … I guess everything is ok now.

Well done for working out that you were running your core files out of the updates folder.
I am glad it worked for you.

This will be fixed in an upcomming update according to this PR: