![]() ![]() |
Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 51 Pomógł: 0 Dołączył: 1.10.2010 Ostrzeżenie: (0%)
|
Witam. Mój formularz podczas tworzenia generuje złe zapytanie SQL.
($this->sphere jest instancją Mns\PytaniaBundle\Entity\Sphere)
Otrzymuje błąd: CODE Expression of type 'Mns\PytaniaBundle\Entity\Sphere' not allowed in this context. A zapytanie, które powstało to:
Dlaczego chce pobrać z Sphere zamiast Category? |
|
|
|
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 97 Pomógł: 15 Dołączył: 12.08.2012 Skąd: Zabrze Ostrzeżenie: (10%)
|
Zapoznaj się z dokumentacją metody where() w QueryBuilder. Złe argumenty podałeś.
|
|
|
|
![]() ![]() |
|
Aktualny czas: 19.12.2025 - 18:15 |