Tiny Tours Logo

Exception: Rhubarb\Stem\Exceptions\RepositoryStatementException
Message: 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 '6009e0ab63865 FROM `tblMenuItem` AS `MenuItem` WHERE `MenuItem`.`Url` = '/bel...' at line 1 The statement was: SELECT COUNT(*) AS rowCount FROM (SELECT `MenuItem`.MenuItemID AS 6009e0ab63865 FROM `tblMenuItem` AS `MenuItem` WHERE `MenuItem`.`Url` = :Url2) AS countableList
Stack Trace:
#0 /var/www/production/releases/11/vendor/rhubarbphp/module-stem/src/Repositories/MySql/MySql.php(316): Rhubarb\Stem\Repositories\PdoRepository::executeStatement('SELECT COUNT(*)...', Array, Object(PDO))
#1 /var/www/production/releases/11/vendor/rhubarbphp/module-stem/src/Collections/RepositoryCollection.php(82): Rhubarb\Stem\Repositories\MySql\MySql->countRowsInCollection(Object(Rhubarb\Stem\Collections\RepositoryCollection))
#2 [internal function]: Rhubarb\Stem\Collections\RepositoryCollection->count()
#3 /var/www/production/releases/11/vendor/rhubarbphp/module-stem/src/Models/Model.php(339): sizeof(Object(Rhubarb\Stem\Collections\RepositoryCollection))
#4 /var/www/production/releases/11/vendor/rhubarbphp/scaffold-navigation-menu/src/MenuItem.php(154): Rhubarb\Stem\Models\Model::findFirst(Object(Rhubarb\Stem\Filters\Equals))
#5 /var/www/production/releases/11/src/Leaves/Menus/MenuLeaf.php(58): Rhubarb\Scaffolds\NavigationMenu\MenuItem::findByUrl('/belfast/politi...')
#6 /var/www/production/releases/11/vendor/rhubarbphp/scaffold-navigation-menu/src/Presenters/TwoLevelMenu.php(66): TinyTours\BookingApp\Leaves\Menus\MenuLeaf->setPrimaryContainerValues(Object(Rhubarb\Stem\Collections\RepositoryCollection))
#7 /var/www/production/releases/11/vendor/rhubarbphp/module-leaf/src/Leaves/Leaf.php(88): Rhubarb\Scaffolds\NavigationMenu\Presenters\TwoLevelMenu->onModelCreated()
#8 /var/www/production/releases/11/src/Leaves/Menus/MenuLeaf.php(21): Rhubarb\Leaf\Leaves\Leaf->__construct('BurgerMenu')
#9 /var/www/production/releases/11/src/Layouts/DefaultLayout.php(168): TinyTours\BookingApp\Leaves\Menus\MenuLeaf->__construct('BurgerMenu', 'Public Footer')
#10 /var/www/production/releases/11/src/Layouts/DefaultLayout.php(283): TinyTours\BookingApp\Layouts\DefaultLayout->printPageHeading()
#11 /var/www/production/releases/11/vendor/rhubarbphp/rhubarb/src/Layout/Layout.php(40): TinyTours\BookingApp\Layouts\DefaultLayout->printLayout('