ORM framework kullandığım bir ürün listeleme sistemim var ve sunucu değiştirdiğim için çalışmıyor. Çalışmama sebebi yeni ürünleri girdiğimde listelemiyor. Aşağuda LOG çıktısını iletiyorum.
Daha önceki sunucuda Mysql 5.7 ve Centos kullanıyordum. Yeni sunucu almalinux ve Mysql 8 oldu. Bundan kaynaklandığını düşünüyorum.
PHP Warning: Use of undefined constant exportMeta - assumed 'exportMeta' (this will throw an Error in a future version of PHP) in /home/siteadi/public_html/orm/addJsonTable.php on line 24
PHP Warning: Use of undefined constant exportTerms - assumed 'exportTerms' (this will throw an Error in a future version of PHP) in /home/siteadi/public_html/orm/addJsonTable.php on line 25
PHP Warning: Use of undefined constant exportMedia - assumed 'exportMedia' (this will throw an Error in a future version of PHP) in /home/siteadi/public_html/orm/addJsonTable.php on line 26
PHP Warning: PDOStatement::execute(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set primary_image = concat('/wp-content/uploads/', primary_image) where (primary' at line 1 in /home/siteadi/public_html/orm/idiorm.php on line 505Ücretli/Ücretsiz yardımcı olabilirseniz çok sevinirim.Teşekkürler.
Not: hata ile ilgili dilerseniz daha fazla detay verebilirim.