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(42) "/var/www/fathom.pro/site/_/lib/tc/Blog.php" ["line":protected]=> int(157) ["trace":"Exception":private]=> array(5) { [0]=> array(6) { ["file"]=> string(42) "/var/www/fathom.pro/site/_/lib/tc/Blog.php" ["line"]=> int(157) ["function"]=> string(7) "execute" ["class"]=> string(12) "PDOStatement" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> NULL } } [1]=> array(6) { ["file"]=> string(48) "/var/www/fathom.pro/site/_/models/blog/model.php" ["line"]=> int(35) ["function"]=> string(19) "getLatestByQuantity" ["class"]=> string(4) "Blog" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> int(18) [1]=> string(0) "" [2]=> int(0) } } [2]=> array(4) { ["file"]=> string(47) "/var/www/fathom.pro/site/_/lib/core/Publish.php" ["line"]=> int(311) ["function"]=> string(9) "{closure}" ["args"]=> array(3) { [0]=> object(Publish)#1 (14) { ["__routes":"Publish":private]=> array(7) { [0]=> array(4) { [0]=> NULL [1]=> string(14) "/?(index.php)?" [2]=> object(Closure)#8 (1) { ["parameter"]=> array(3) { ["$_"]=> string(10) "" ["$path"]=> string(10) "" ["$params"]=> string(10) "" } } [3]=> bool(true) } [1]=> array(4) { [0]=> NULL [1]=> string(24) "page/[i:id]?(index.php)?" [2]=> object(Closure)#7 (1) { ["parameter"]=> array(3) { ["$_"]=> string(10) "" ["$path"]=> string(10) "" ["$params"]=> string(10) "" } } [3]=> bool(true) } [2]=> array(4) { [0]=> NULL [1]=> string(54) "category/[*:category]?/?[page]?/?[i:id]?/?(index.php)?" [2]=> object(Closure)#9 (1) { ["parameter"]=> array(3) { ["$_"]=> string(10) "" ["$path"]=> string(10) "" ["$params"]=> string(10) "" } } [3]=> bool(true) } [3]=> array(4) { [0]=> NULL [1]=> string(31) "archive/[i:year]?/?(index.php)?" [2]=> object(Closure)#10 (1) { ["parameter"]=> array(3) { ["$_"]=> string(10) "" ["$path"]=> string(10) "" ["$params"]=> string(10) "" } } [3]=> bool(true) } [4]=> array(4) { [0]=> NULL [1]=> string(39) "author/[i:id]/[*:author]?/?(index.php)?" [2]=> object(Closure)#11 (1) { ["parameter"]=> array(3) { ["$_"]=> string(10) "" ["$path"]=> string(10) "" ["$params"]=> string(10) "" } } [3]=> bool(true) } [5]=> array(4) { [0]=> NULL [1]=> string(17) "rss/?(index.php)?" [2]=> object(Closure)#12 (1) { ["parameter"]=> array(3) { ["$_"]=> string(10) "" ["$path"]=> string(10) "" ["$params"]=> string(10) "" } } [3]=> bool(true) } [6]=> array(4) { [0]=> array(2) { [0]=> string(3) "get" [1]=> string(4) "post" } [1]=> string(24) "[**:post]?/?(index.php)?" [2]=> object(Closure)#13 (1) { ["parameter"]=> array(3) { ["$_"]=> string(10) "" ["$path"]=> string(10) "" ["$params"]=> string(10) "" } } [3]=> bool(true) } } ["__events":"Publish":private]=> array(4) { ["beforeDispatch"]=> array(2) { [0]=> object(Closure)#14 (1) { ["parameter"]=> array(1) { ["$_"]=> string(10) "" } } [1]=> object(Closure)#19 (1) { ["parameter"]=> array(1) { ["$_"]=> string(10) "" } } } ["beforeRender"]=> array(1) { [0]=> object(Closure)#15 (1) { ["parameter"]=> array(1) { ["$_"]=> string(10) "" } } } ["afterDispatch"]=> array(2) { [0]=> object(Closure)#16 (1) { ["parameter"]=> array(1) { ["$_"]=> string(10) "" } } [1]=> object(Closure)#17 (1) { ["parameter"]=> array(1) { ["$_"]=> string(10) "" } } } ["afterPlugins"]=> array(1) { [0]=> object(Closure)#21 (1) { ["parameter"]=> array(1) { ["$_"]=> string(10) "" } } } } ["__namespace":"Publish":private]=> NULL ["config"]=> object(stdClass)#2 (6) { ["installpath"]=> string(1) "/" ["webroot"]=> string(25) "/var/www/fathom.pro/site/" ["database"]=> object(stdClass)#3 (4) { ["host"]=> string(17) "mysql4.servers.tc" ["name"]=> string(6) "fathom" ["user"]=> string(6) "fathom" ["password"]=> string(11) "sip90broads" } ["cache"]=> object(stdClass)#4 (2) { ["dir"]=> string(7) "_/cache" ["urlswitch"]=> string(7) "recache" } ["minify"]=> object(stdClass)#5 (2) { ["enabled"]=> bool(true) ["directory"]=> string(10) "assets/min" } ["dir"]=> string(26) "/var/www/fathom.pro/site/_" } ["headers"]=> array(1) { ["X-Powered-By"]=> string(7) "Publish" } ["path"]=> string(0) "" ["contentType"]=> string(4) "html" ["view"]=> string(22) "views/blog/default.tpl" ["defaultAssignments"]=> array(13) { ["seo"]=> array(4) { ["title"]=> string(0) "" ["description"]=> string(0) "" ["sitetitle"]=> string(6) "Fathom" ["sitedescription"]=> string(137) "We will help you to build an exceptional online experience for customers, using analytics, direct user feedback and design best practice." } ["nav"]=> array(1) { ["current"]=> string(4) "home" } ["uri"]=> string(190) "/blog?page=0&per8per8per8perperperperper8perper8perper8per8per8perper8per8perper8perperperper8perperper8perper8per8per8perperperper8per8perper8perper8perper8per8per8per8per8per8perperpage=18" ["serverHost"]=> string(14) "www.fathom.pro" ["showCookie"]=> bool(true) ["noIndex"]=> bool(false) ["breadcrumbs"]=> array(1) { [0]=> array(2) { ["title"]=> string(4) "Home" ["link"]=> string(1) "/" } } ["bodyClass"]=> string(0) "" ["dev"]=> bool(false) ["cookieLink"]=> string(15) "&cookieaccepted" ["captcha"]=> string(8) "g0cl04so" ["contacts"]=> object(stdClass)#27 (30) { ["ItemID"]=> string(1) "1" ["ItemPhone"]=> string(20) "+44 (0) 28 9099 2882" ["ItemEmail"]=> string(17) "deeper@fathom.pro" ["ItemFacebook"]=> string(2) "fb" ["ItemTwitter"]=> string(0) "" ["ItemLinkedin"]=> string(0) "" ["ItemFlickr"]=> string(2) "fl" ["ItemYoutube"]=> string(2) "yt" ["ItemMap"]=> string(31) "https://goo.gl/maps/U3uWrccDRan" ["ItemAddress"]=> string(34) "19 Arthur Street Belfast BT1 4GA" ["ItemSEOTitle"]=> string(14) "Contact Fathom" ["ItemSEODescription"]=> string(64) "Fathom is an Irish UX agency with offices in Belfast and Dublin." ["ItemMessage"]=> string(94) "Thank you for getting in touch. One of our team will respond to you within one working day." ["ItemTitle1"]=> string(0) "" ["ItemDescription1"]=> string(4660) "

For UX, service design projects, conference speaking or training enquiries

Speak to Andrew, our UX Director. Email hello@fathom.pro or phone our Belfast office 028 9099 2882.

" ["ItemImage1"]=> string(38) "cmsfiles/people/andrew-mccrea-2020.png" ["ItemImage2"]=> string(0) "" ["ItemDescription2"]=> string(6105) "

" ["ItemCallUs1"]=> string(18) "+44 (28) 9099 2882" ["ItemEmail1"]=> string(22) "hello@fathom.pro " ["ItemCallUs2"]=> string(0) "" ["ItemEmail2"]=> string(0) "" ["ItemMapEmbed"]=> string(8197) "

" ["ItemMapEmbed2"]=> string(7766) "

" ["ItemAddressDublin"]=> string(0) "" ["ItemDirectionsBelfast"]=> string(8632) "

from Belfast City Airport

from Belfast International Airport

" ["ItemDirectionsDublin"]=> string(7011) "

 

" ["ItemNewsletterMessage"]=> string(0) "" ["ItemOfficesSub"]=> string(51) "We are head–quartered in Belfast city centre " ["ItemNewsletterSuccess"]=> NULL } ["pageError"]=> object(stdClass)#28 (11) { ["ItemID"]=> string(1) "4" ["ItemClients"]=> NULL ["ItemMobile"]=> string(177) "

Please contact front of house, where our skilled staff will be happy to help.

" ["ItemDesktop"]=> string(21) "Ticket 404 is invalid" ["ItemPromos"]=> NULL ["ItemServices"]=> NULL ["ItemSEOTitle"]=> NULL ["ItemSEODescription"]=> NULL ["ItemAwards"]=> NULL ["ItemPublishAwards"]=> string(1) "0" ["ItemHeaderTitle"]=> NULL } } ["database"]=> object(Closure)#18 (1) { ["parameter"]=> array(1) { ["$_"]=> string(10) "" } } ["_database"]=> object(PDO)#20 (0) { } ["functions"]=> object(TCFunctions)#22 (2) { ["db"]=> NULL ["_"]=> *RECURSION* } ["siteFunctions"]=> object(SiteFunctions)#23 (2) { ["db"]=> NULL ["_"]=> *RECURSION* } ["blog"]=> object(Blog)#24 (5) { ["database":"Blog":private]=> NULL ["table":"Blog":private]=> string(5) "Blogs" ["table2":"Blog":private]=> string(14) "BlogCategories" ["table3":"Blog":private]=> string(12) "BlogSettings" ["_"]=> *RECURSION* } } [1]=> string(0) "" [2]=> array(1) { [0]=> string(0) "" } } } [3]=> array(6) { ["file"]=> string(36) "/var/www/fathom.pro/site/_/index.php" ["line"]=> int(215) ["function"]=> string(8) "dispatch" ["class"]=> string(7) "Publish" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(0) "" [1]=> string(3) "get" [2]=> &array(1) { [0]=> string(0) "" } } } [4]=> array(4) { ["file"]=> string(34) "/var/www/fathom.pro/site/index.php" ["line"]=> int(2) ["args"]=> array(1) { [0]=> string(36) "/var/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

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.