object(mysqli_sql_exception)#492 (8) { ["message":protected]=> string(148) "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(1064) ["file":protected]=> string(55) "/var/www/prod/dealegit/site/swcf/Core/Core/DataBase.php" ["line":protected]=> int(69) ["trace":"Exception":private]=> array(8) { [0]=> array(3) { ["file"]=> string(55) "/var/www/prod/dealegit/site/swcf/Core/Core/DataBase.php" ["line"]=> int(69) ["function"]=> string(12) "mysqli_query" } [1]=> array(5) { ["file"]=> string(69) "/var/www/prod/dealegit/site/swcf/Core/Entity/Entity/EntityManager.php" ["line"]=> int(53) ["function"]=> string(7) "GetLine" ["class"]=> string(18) "Core\Core\DataBase" ["type"]=> string(2) "->" } [2]=> array(5) { ["file"]=> string(62) "/var/www/prod/dealegit/site/swcf/Core/Entity/Entity/Entity.php" ["line"]=> int(160) ["function"]=> string(7) "GetById" ["class"]=> string(32) "Core\Entity\Entity\EntityManager" ["type"]=> string(2) "::" } [3]=> array(5) { ["file"]=> string(79) "/var/www/prod/dealegit/site/swcf/Apps/Swcf/Module/Product/ProductController.php" ["line"]=> int(381) ["function"]=> string(7) "GetById" ["class"]=> string(25) "Core\Entity\Entity\Entity" ["type"]=> string(2) "->" } [4]=> array(5) { ["file"]=> string(51) "/var/www/prod/dealegit/site/swcf/Apps/Swcf/Swcf.php" ["line"]=> int(370) ["function"]=> string(6) "Detail" ["class"]=> string(42) "Apps\Swcf\Module\Product\ProductController" ["type"]=> string(2) "->" } [5]=> array(5) { ["file"]=> string(51) "/var/www/prod/dealegit/site/swcf/Extend/App/App.php" ["line"]=> int(79) ["function"]=> string(8) "Products" ["class"]=> string(14) "Apps\Swcf\Swcf" ["type"]=> string(2) "->" } [6]=> array(5) { ["file"]=> string(48) "/var/www/prod/dealegit/site/swcf/Core/Runner.php" ["line"]=> int(110) ["function"]=> string(7) "Execute" ["class"]=> string(12) "Core\App\App" ["type"]=> string(2) "->" } [7]=> array(5) { ["file"]=> string(46) "/var/www/prod/dealegit/site/swcf/Web/index.php" ["line"]=> int(23) ["function"]=> string(3) "Run" ["class"]=> string(6) "Runner" ["type"]=> string(2) "::" } } ["previous":"Exception":private]=> NULL ["sqlstate":protected]=> string(5) "42000" }
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1