I am having an issue and i cannot seem to find the cause immediately. I am trying to push data into the member class. Through a YML file in a test case. The result is an error saying that it was expecting a string but received an array.
The error occurs at: framework/dev/fixtureblueprint line 248
protected function parseValue($value, $fixtures = null) {
if(substr($value,0,2) == '=>') {
Where obvious array is not a string.
YML file looks something like:
Member:
member1:
FirstName: Foo
Surname: Foo2
member2:
FirstName: Test
Surname: Test2
Now when going through the code i find that it grabs member2 and treats it as if it is a row below member1 aka it sees the yml as:
Member:
member1:
FirstName: Foo
Surname: Foo2
member2: array()
My question now being what would cause this or is it simply an fairly unclear indicator that data is missing/incorrect/does not match a database column