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.
I am running User Forms 0.2.0 with SilverStripe 2.4. Building the form etc worked fine. But when I am on the published page and I try to submit the form I get the error:
[User Warning] DataObject::setField: passed an object that is not a DBField
Line 2065 in /is/htdocs/wp1094768_3R20B0YUEG/www/webdesign/sapphire/core/model/DataObject.php
Is this an issue with 2.4 or is there something else wrong.
Any help is welcome.
Can you post the full backtrace of the error. Note if you're running 2.4 you will have to be using the trunk version of userforms. The latest stable won't work with 2.4.
Everything is working fine with the latest trunk.
Thanks a lot for the help.
Sorry for bothering again. The User form now works with the latest trunk, but now I connot save any content. When I click on save and publish or just save, I get an error. Firebug says:
400//SecurityID doesn't match, possible CRSF attack.
I am using 2.4 with the latest trunk of Userforms. Before using this trunk I was able to save an publish content as usual.
Thanky for helping.
The saving error has nothing to do with UserForms. I just got to know that my provider updated to PHP 5.2.11 and since then I get the errors. I opened a ticket: