0
当从形式坚持我的实体,我得到了数据库冲洗时出现以下错误:坚持许多人在数据库Symfony2的许多关系
Catchable Fatal Error: Argument 1 passed to Doctrine\Common\Collections\ArrayCollection::__construct() must be an array, object given, called in C:\wamp\www\Symfony\vendor\doctrine\orm\lib\Doctrine\ORM\UnitOfWork.php on line 519 and defined in C:\wamp\www\Symfony\vendor\doctrine\common\lib\Doctrine\Common\Collections\ArrayCollection.php line 48
我想我得到它的物体形式,但它必须是在阵列收集表格 我无法理解
任何想法????
这应该是一个评论 – DonCallisto
哎呀编辑这一切在这种情况下......但我不能对用户的帖子添加评论,我想念smthg吗? –
是的,你缺少25个代表处点http://stackoverflow.com/privileges/comment :) – cheesemacfly