It is not yet possible to assign complex types to properties
I'm pretty confident that this is a SimpleXML error, since $report is a SimpleXML object. The solution is to stop trying to just append to that object, and instead use SimpleXML's own functionality (presumably addChild) to make this change to the data.
We've almost got this problem fixed. The remaining problem is that this code:
generates this error:
It is not yet possible to assign complex types to properties
I'm pretty confident that this is a SimpleXML error, since
$report
is a SimpleXML object. The solution is to stop trying to just append to that object, and instead use SimpleXML's own functionality (presumablyaddChild
) to make this change to the data.