Notice (8): Undefined index: Product [APP/Controller/ProductsController.php, line 268]
Notice (8): Undefined index: Category [APP/Controller/ProductsController.php, line 269]
Notice (8): Undefined index: Category [APP/Controller/ProductsController.php, line 270]
Errors - Sigadica

Database Error

Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '2147483647' for key 'PRIMARY'

SQL Query: INSERT INTO `sigadica01`.`products` (`id`, `views`, `modified`, `created`) VALUES ('function.strpos', 1, '2019-07-20 22:03:44', '2019-07-20 22:03:44')

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 1004DboSource->execute(string)
  • CORE/Cake/Model/Model.php line 1832DboSource->create(Product, array, array)
  • APP/Controller/ProductsController.php line 279Model->save(array)
  • [internal function]ProductsController->view(string)
  • CORE/Cake/Controller/Controller.php line 490ReflectionMethod->invokeArgs(ProductsController, array)
  • CORE/Cake/Routing/Dispatcher.php line 185Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 160Dispatcher->_invoke(ProductsController, CakeRequest, CakeResponse)
  • APP/webroot/index.php line 108Dispatcher->dispatch(CakeRequest, CakeResponse)