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