object(PDOException)#30 (8) { ["message":protected]=> string(210) "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 '-18, 18' at line 11" ["string":"Exception":private]=> string(0) "" ["code":protected]=> string(5) "42000" ["file":protected]=> string(48) "/home/ploi/www.fathom.pro/site/_/lib/tc/Blog.php" ["line":protected]=> int(157) ["trace":"Exception":private]=> array(5) { [0]=> array(5) { ["file"]=> string(48) "/home/ploi/www.fathom.pro/site/_/lib/tc/Blog.php" ["line"]=> int(157) ["function"]=> string(7) "execute" ["class"]=> string(12) "PDOStatement" ["type"]=> string(2) "->" } [1]=> array(5) { ["file"]=> string(54) "/home/ploi/www.fathom.pro/site/_/models/blog/model.php" ["line"]=> int(35) ["function"]=> string(19) "getLatestByQuantity" ["class"]=> string(4) "Blog" ["type"]=> string(2) "->" } [2]=> array(3) { ["file"]=> string(53) "/home/ploi/www.fathom.pro/site/_/lib/core/Publish.php" ["line"]=> int(311) ["function"]=> string(9) "{closure}" } [3]=> array(5) { ["file"]=> string(42) "/home/ploi/www.fathom.pro/site/_/index.php" ["line"]=> int(215) ["function"]=> string(8) "dispatch" ["class"]=> string(7) "Publish" ["type"]=> string(2) "->" } [4]=> array(4) { ["file"]=> string(40) "/home/ploi/www.fathom.pro/site/index.php" ["line"]=> int(2) ["args"]=> array(1) { [0]=> string(42) "/home/ploi/www.fathom.pro/site/_/index.php" } ["function"]=> string(7) "include" } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "42000" [1]=> int(1064) [2]=> string(154) "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 '-18, 18' at line 11" } } Latest thinking, best practice, advice and opinion on the Fathom UX blog

Get in touch

+44 (0) 28 9099 2882
deeper@fathom.pro

Fathom

Insight and dialogue

Our Cookie Policy

Find out more I accept

Like most websites, ours uses cookies to make sure you receive the best experience possible. These cookies are safe and secure and do not store any sensitive information. To continue, please accept the use of cookies.