我有一個AJAX GET請求應返回到我的類別列表中,但我有一個SQL錯誤SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 我的請求URL旁邊:http://my
我重寫包的實體。 在我的包 我寫的 namespace AppBundle\Entity;
use Sulu\Bundle\MediaBundle\Entity\Media as Base;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* @ORM\Table(name="me