0
时发生错误我实际上有一个问题,当我想用我的管理面板与Sonata Admin一起使用在我的数据库中创建某些内容时。当我尝试,我刚才这个错误: “创建项目的过程中发生了错误” ,当我用我的Synfony2日志,我有这样的错误: 索纳塔管理员:在创建项目
我不知道如何要解决这个问题,因为我发现dindn't的话题,它可以帮助我:(
但我认为这个问题是在这里:
namespace Kayser\PlatformBundle\Entity\Repository;
use Doctrine\ORM\EntityRepository;
/**
* AnnoncesRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class AnnoncesRepository extends EntityRepository
{
public function findAll($order = array())
{
if (!sizeof($order)) {
$order = array('order' => 'ASC');
}
return $this->findBy(array(), $order);
}
}
如果有人能帮助我:(
Ty,我将能够纠正我的问题。 –