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.
11 Posts 3346 Views
When I run a dev/build?flush=1 I get this error message....
[Warning] DataObject::__construct passed The value 'HeaderImage'. It's supposed to be passed an array, taken straight from the database. Perhaps you should use DataObject::get_one instead?
The 'TagLine' and 'Statement' fields work fine.
The Image relationship belongs in your $has_one, not your $db.