Database Error

Error: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'findCount' at line 1

SQL Query: findCount

Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp

Stack Trace

  • CORE/Cake/Model/Datasource/DboSource.php line 458PDOStatement->execute(array)
  • CORE/Cake/Model/Datasource/DboSource.php line 424DboSource->_execute(string, array)
  • CORE/Cake/Model/Datasource/DboSource.php line 666DboSource->execute(string, array, array)
  • CORE/Cake/Model/Datasource/DboSource.php line 609DboSource->fetchAll(string, array, array)
  • CORE/Cake/Model/Model.php line 808DboSource->query(string, array, Vinnerpresentasjon)
  • APP/Controller/VinnerpresentasjonController.php line 194Model->__call(string, array)
  • APP/Controller/VinnerpresentasjonController.php line 194Vinnerpresentasjon->findCount(string)
  • [internal function]VinnerpresentasjonController->vis(string, string)
  • CORE/Cake/Controller/Controller.php line 490ReflectionMethod->invokeArgs(VinnerpresentasjonController, array)
  • CORE/Cake/Routing/Dispatcher.php line 191Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 165Dispatcher->_invoke(VinnerpresentasjonController, CakeRequest)
  • APP/webroot/index.php line 92Dispatcher->dispatch(CakeRequest, CakeResponse)