1 0 1 n o w.com
Search Engine All- in One Place !

php – Doctrine can’t insert or update specific column in table in shared server


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

© 2023 All Rights Reserved. 101now.com ® is a free online search engine index services. 101now™ has large comprehensive directories for people all ages or any location where you can benefit and enjoy our platform. We provide up to date information and more on a daily basis.
Terms of Service | Privacy
newyorkconstructionco.com 101now.net 101now.org