->MYSQLI ERROR: query() select * from txctimetablepoints where filesKey= and direction='o' and prevKey=0 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 'and direction='o' and prevKey=0' at line 3#0 MysqliManager->query(select * from txctimetablepoints where filesKey= and direction='o' and prevKey=0) called at [/usr/local/a1p/www/web/_scripts/lib3/meta1/db/MysqliManager.php:22] #1 MysqliManager->getRec(select * from txctimetablepoints where filesKey= and direction='o' and prevKey=0) called at [/usr/local/a1p/www/web/_scripts/lib3/bus/trans/dft/txc/TransXChange.php:625] #2 TimetablePoints->getFirst() called at [/usr/local/a1p/www/web/_scripts/lib3/bus/trans/dft/txc/TransXChange.php:614] #3 TimetablePoints->getPoints() called at [/usr/local/a1p/www/web/_sites/tubestationuk/LroLineroute.php:131] #4 LroLineroute->makeTable(, o, ) called at [/usr/local/a1p/www/web/_sites/tubestationuk/LroLineroute.php:76] #5 LroLineroute->buildTable(HtmlDiv Object (), , o) called at [/usr/local/a1p/www/web/_sites/tubestationuk/WebBuilderSite.php:381] #6 WebBuilderSite->buildLroLineroutes(HtmlDiv Object ()) called at [/usr/local/a1p/www/web/_sites/tubestationuk/WebBuilderSiteDesktopAndTablet.php:164] #7 WebBuilderSiteDesktopAndTablet->buildCentre(HtmlDiv Object ()) called at [/usr/local/a1p/www/web/_sites/tubestationuk/WebBuilderSiteDesktopAndTablet.php:367] #8 WebBuilderSiteDesktopAndTablet->buildmain(HtmlDiv Object ()) called at [/usr/local/a1p/www/web/_sites/tubestationuk/WebBuilderSiteDesktopAndTablet.php:61] #9 WebBuilderSiteDesktopAndTablet->_build() called at [/usr/local/a1p/www/web/tubestationuk/index.php:14]