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 `id_auction`=5' at line 1 code 1064

## wa-system/controller/waDispatch.class.php(50)
#0 wa-system/waSystem.class.php(610): waDispatch->dispatch()
#1 index.php(11): waSystem->dispatch()
#2 {main}

Next mysqli_sql_exception with 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 'AND `id_auction`=5' at line 1':
## wa-apps/auction/lib/models/frontend/transaction.model.php(55)
#0 wa-apps/auction/lib/models/frontend/transaction.model.php(55): mysqli_query()
#1 wa-apps/auction/lib/plugins/transaction.php(13): transactionFrontendUser->last_bid()
#2 wa-apps/auction/lib/plugins/plugins.php(14): include_once('...')
#3 wa-apps/auction/templates/actions/frontend/Frontend.php(6): include_once('...')
#4 wa-system/view/waPHPView.class.php(63): include('...')
#5 wa-system/view/waPHPView.class.php(51): waPHPView->display()
#6 wa-system/controller/waViewAction.class.php(190): waPHPView->fetch()
#7 wa-system/controller/waViewController.class.php(86): waViewAction->display()
#8 wa-system/controller/waDefaultViewController.class.php(48): waViewController->executeAction()
#9 wa-system/controller/waController.class.php(21): waDefaultViewController->execute()
#10 wa-system/controller/waViewController.class.php(46): waController->run()
#11 wa-system/controller/waFrontController.class.php(263): waViewController->run()
#12 wa-system/controller/waFrontController.class.php(190): waFrontController->runController()
#13 wa-system/controller/waFrontController.class.php(84): waFrontController->execute()
#14 wa-system/controller/waDispatch.class.php(363): waFrontController->dispatch()
#15 wa-system/controller/waDispatch.class.php(34): waDispatch->dispatchFrontend()
#16 wa-system/waSystem.class.php(610): waDispatch->dispatch()
#17 index.php(11): waSystem->dispatch()
#18 {main}

GET

[]

Params

[
  'app' => 'auction',
  'theme' => 'default',
  'theme_mobile' => 'default',
  'locale' => 'en_US',
]