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 gullsnitt71/View/Errors/pdo_error.ctp

Stack Trace

  • CORE/Cake/Model/Datasource/DboSource.php line 502PDOStatement->execute(array)
  • CORE/Cake/Model/Datasource/DboSource.php line 468DboSource->_execute(string, array)
  • CORE/Cake/Model/Datasource/DboSource.php line 715DboSource->execute(string, array, array)
  • CORE/Cake/Model/Datasource/DboSource.php line 648DboSource->fetchAll(string, array, array)
  • CORE/Cake/Model/Model.php line 834DboSource->query(string, array, Vinnerpresentasjon)
  • APP/Controller/VinnerpresentasjonController.php line 194Model->__call(string, array)
  • [internal function]VinnerpresentasjonController->vis(string, string)
  • CORE/Cake/Controller/Controller.php line 499ReflectionMethod->invokeArgs(VinnerpresentasjonController, array)
  • CORE/Cake/Routing/Dispatcher.php line 193Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 167Dispatcher->_invoke(VinnerpresentasjonController, CakeRequest)
  • APP/webroot/index.php line 118Dispatcher->dispatch(CakeRequest, CakeResponse)