Cannot use object of type ValidationErrorHelper

Permalink
I'm making major modifications to the standard register page and liked the look of the Add User page within the Dashboard.

Copied this. Placed it in my themes directory with the file name register.php.

The page displays fine. But when I try to fillout the form it gives me the error

Cannot use object of type ValidationErrorHelper

I am new to concrete5 and so any help would be great.

dude
 
ScottC replied on at Permalink Reply
ScottC
check out the controller and make sure it isn't setting an object on_start which is being referenced by the singlepage view.

You'll see code like $this->set('whatevs',$whatever);
dude replied on at Permalink Reply
dude
Not sure if I understand your answer. I don't think there is any reference to a view page. The register.php file is contained under the a themes/mytheme directory and not setup in the single_pages folder. Also did not find any code with $this->set
dude replied on at Permalink Reply
dude
Got this working but only after taking out the $error[] array references in the code and made this reference $error.

This is the modified registration page on a project I am working on for those that are interested.

http://bcsc5.cometomysite.com/index.php/register/http://www.concret...
Mnkras replied on at Permalink Reply
Mnkras
nice job dude ha! your name is dude!