Advertisement
Guest User

Untitled

a guest
Dec 5th, 2015
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. 2015-12-05 20:20:28 Error: [RuntimeException] Table "App\Model\Table\ProductsTable" is not associated with "request"
  2. Request URL: /products/upload
  3. Stack Trace:
  4. #0 C:\xampp\htdocs\PROJETOS\Shopping\src\Model\Table\ProductsTable.php(108): Cake\ORM\Table->__get('request')
  5. #1 C:\xampp\htdocs\PROJETOS\Shopping\vendor\cakephp\cakephp\src\Event\EventManager.php(389): App\Model\Table\ProductsTable->afterSave(Object(Cake\Event\Event), Object(App\Model\Entity\Product), Object(ArrayObject))
  6. #2 C:\xampp\htdocs\PROJETOS\Shopping\vendor\cakephp\cakephp\src\Event\EventManager.php(355): Cake\Event\EventManager->_callListener(Array, Object(Cake\Event\Event))
  7. #3 C:\xampp\htdocs\PROJETOS\Shopping\vendor\cakephp\cakephp\src\Event\EventDispatcherTrait.php(78): Cake\Event\EventManager->dispatch(Object(Cake\Event\Event))
  8. #4 C:\xampp\htdocs\PROJETOS\Shopping\vendor\cakephp\cakephp\src\ORM\Table.php(1449): Cake\ORM\Table->dispatchEvent('Model.afterSave', Array)
  9. #5 C:\xampp\htdocs\PROJETOS\Shopping\vendor\cakephp\cakephp\src\ORM\Table.php(1367): Cake\ORM\Table->_processSave(Object(App\Model\Entity\Product), Object(ArrayObject))
  10. #6 C:\xampp\htdocs\PROJETOS\Shopping\vendor\cakephp\cakephp\src\Database\Connection.php(561): Cake\ORM\Table->Cake\ORM\{closure}(Object(Cake\Database\Connection))
  11. #7 C:\xampp\htdocs\PROJETOS\Shopping\vendor\cakephp\cakephp\src\ORM\Table.php(1368): Cake\Database\Connection->transactional(Object(Closure))
  12. #8 C:\xampp\htdocs\PROJETOS\Shopping\src\Controller\ProductsController.php(395): Cake\ORM\Table->save(Object(App\Model\Entity\Product))
  13. #9 [internal function]: App\Controller\ProductsController->upload()
  14. #10 C:\xampp\htdocs\PROJETOS\Shopping\vendor\cakephp\cakephp\src\Controller\Controller.php(411): call_user_func_array(Array, Array)
  15. #11 C:\xampp\htdocs\PROJETOS\Shopping\vendor\cakephp\cakephp\src\Routing\Dispatcher.php(114): Cake\Controller\Controller->invokeAction()
  16. #12 C:\xampp\htdocs\PROJETOS\Shopping\vendor\cakephp\cakephp\src\Routing\Dispatcher.php(87): Cake\Routing\Dispatcher->_invoke(Object(App\Controller\ProductsController))
  17. #13 C:\xampp\htdocs\PROJETOS\Shopping\webroot\index.php(37): Cake\Routing\Dispatcher->dispatch(Object(Cake\Network\Request), Object(Cake\Network\Response))
  18. #14 {main}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement