Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Multiform module error in SS 2.4.2


Go to End


3 Posts   906 Views

Avatar
Harley

Community Member, 165 Posts

29 October 2010 at 11:15pm

Edited: 29/10/2010 11:17pm

Hi,

Hope someone can help here.

I've used the multi form module once before in an earlier version of SS, I've recently done one in SS 2.4.2 and I'm getting this error:

[User Error] Uncaught Exception: Object->__call(): the method 'setform' does not exist

..//

Line 724 in G:\Program files\xampp\htdocs\wwwroot\AdvocacyWorks\sapphire\core\Object.php

Can anyone tell me what this means? The database builds perfectly ok, I just get the error once I've created the page type and viewed the published page.

Thanks

Avatar
\\\ Samuel ///

Community Member, 1 Post

1 November 2010 at 4:47am

If you provide some of your code snippet, I may able to help.

Avatar
Harley

Community Member, 165 Posts

1 November 2010 at 7:14am

I actually got it to work now, sort of...

The only problem now is that when I view the page it is using the ContentController template instead of the one I have made.

I've been reading other peoples issues with templates and a few people have suggested using the silverstripe-cache with flush=all but still I've had no joy.

Any ideas on what the issue could be there? Been wrestling with this all afternoon.