invalid data value given.

by CloudSeph   Last Updated December 21, 2017 11:07 AM

"Invalid data value given. Be sure it matches the required data type and format drupal 7".

I am getting the following error. I I know that I am trying to save a string to an Object. I can store in the db if I follow something like the following example:

$twrapper->field_test>set(array('value' => $data['schedule'], 'format' => 'filtered_html'));

the problem now is that i can't figure out what key is inside that field. i tried to figure it out by debug and found the following inside:

EntityValueWrapper
type:"date"
data:null
info:array(15)
cache:array(0)

How do i get the keys for that field's object?



Related Questions


how to get the url to usefor a private path

Updated April 03, 2018 21:07 PM

stream wrapper public /private not found Error

Updated December 13, 2016 08:03 AM


How to remove Storage API without data loss

Updated April 12, 2017 17:07 PM