When I try to create or update my entity product thats work fine, but there is a specific column “status” when I try to put together with the rest, my update or insert doesn’t work
but all of this is just in our shared server, if I put the project in other dedicated server thats work fine.
$query = $this->em->getRepository(Product::class)->find($productId);
$query->setPrice($price);
$query->setStatus(1);
$this->em->persist($query);
$this->em->flush();
and if i do this without set status thats work in our shared server
obs: if i use PDO inted of doctrine, thats work normally too
I our dedicated server we use php 7.4ea, but in our shared server on cpanel just show php 7.4
and symfony doesn’t show me errors
Source link
php,symfony,server,doctrine-orm
#php #Doctrine #insert #update #specific #column #table #shared #server