Hi Will
thanks for your reply, i guess i was short on info for you.
Using SS 2.4.2 with the latest daily build trunk-r113848 (have learnt to do this first) also read some other posts from a couple of weeks ago that resolved some questions but not this one.
here is the error complete
[User Warning] DataObject::get_by_id passed a non-numeric ID #
POST /newsletter/Form
Line 2924 in C:\Inetpub\mydomain\sapphire\core\model\DataObject.php
Source
2915 $tableClasses = ClassInfo::dataClassesFor($callerClass);
2916 $baseClass = array_shift($tableClasses);
2917 return DataObject::get_one($callerClass,"\"$baseClass\".\"ID\" = $id", $cache);
2918
2919 // This simpler code will be used by non-DataObject classes that implement DataObjectInterface
2920 } else {
2921 return DataObject::get_one($callerClass,"\"ID\" = $id", $cache);
2922 }
2923 } else {
2924 user_error("DataObject::get_by_id passed a non-numeric ID #$id", E_USER_WARNING);
2925 }
2926 }
2927
2928 /**
2929 * Get the name of the base table for this object
2930 */
Trace
DataObject::get_by_id passed a non-numeric ID #
Line 2924 of DataObject.php
DataObject::get_by_id(NewsletterType,)
Line 253 of SubscriptionPage.php
SubscriptionPage_Controller->doSubscribe(Array,Form,SS_HTTPRequest)
Line 300 of Form.php
Form->httpSubmission(SS_HTTPRequest)
Line 137 of RequestHandler.php
RequestHandler->handleRequest(SS_HTTPRequest)
Line 155 of RequestHandler.php
RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
Controller->handleRequest(SS_HTTPRequest)
Line 199 of ContentController.php
ContentController->handleRequest(SS_HTTPRequest)
Line 67 of ModelAsController.php
ModelAsController->handleRequest(SS_HTTPRequest)
Line 281 of Director.php
Director::handleRequest(SS_HTTPRequest,Session)
Line 124 of Director.php
Director::direct(newsletter/Form)
Line 127 of main.php
i hope this helps.