Warning: Creating default object from empty value in /var/www/artkrav/artkrav.ru/app/controllers/ProductsController.php on line 33

Notice: Undefined property: stdClass::$views in /var/www/artkrav/artkrav.ru/app/controllers/ProductsController.php on line 33

Fatal error: Uncaught Error: Call to undefined method stdClass::save() in /var/www/artkrav/artkrav.ru/app/controllers/ProductsController.php:34 Stack trace: #0 [internal function]: Artkrav\Controllers\ProductsController->showAction('90') #1 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(Artkrav\Controllers\ProductsController), 'showAction', Array) #2 [internal function]: Phalcon\Dispatcher->_dispatch() #3 [internal function]: Phalcon\Dispatcher->dispatch() #4 /var/www/artkrav/artkrav.ru/public/index.php(27): Phalcon\Mvc\Application->handle() #5 {main} thrown in /var/www/artkrav/artkrav.ru/app/controllers/ProductsController.php on line 34