10375 Posts in 2190 Topics by 1707 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1580 Views |
-
User Forms - DataObject::setField: passed an object that is not a DBField

16 December 2009 at 9:04am
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
POST /webdesign/kontakt/FormLine 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.
-
Re: User Forms - DataObject::setField: passed an object that is not a DBField

16 December 2009 at 9:23am
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.
-
Re: User Forms - DataObject::setField: passed an object that is not a DBField

17 December 2009 at 8:21pm
Everything is working fine with the latest trunk.
Thanks a lot for the help.
-
Re: User Forms - DataObject::setField: passed an object that is not a DBField

6 January 2010 at 5:34am
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.
-
Re: User Forms - DataObject::setField: passed an object that is not a DBField

6 January 2010 at 9:30am
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:
| 1580 Views | ||
|
Page:
1
|
Go to Top |


