Strict (2048): Declaration of UserAuthComponent::initialize() should be compatible with Component::initialize(Controller $controller) [/home/bn94xt96/cake/app/Plugin/Usermgmt/Controller/Component/UserAuthComponent.php, line 0]
Strict (2048): Declaration of UserAuthComponent::startup() should be compatible with Component::startup(Controller $controller) [/home/bn94xt96/cake/app/Plugin/Usermgmt/Controller/Component/UserAuthComponent.php, line 0]
Strict (2048): Declaration of UserAuthComponent::beforeRender() should be compatible with Component::beforeRender(Controller $controller) [/home/bn94xt96/cake/app/Plugin/Usermgmt/Controller/Component/UserAuthComponent.php, line 0]
Strict (2048): Declaration of SearchComponent::initialize() should be compatible with Component::initialize(Controller $controller) [/home/bn94xt96/cake/app/Plugin/Usermgmt/Controller/Component/SearchComponent.php, line 0]
Strict (2048): Declaration of SearchComponent::startup() should be compatible with Component::startup(Controller $controller) [/home/bn94xt96/cake/app/Plugin/Usermgmt/Controller/Component/SearchComponent.php, line 0]
Strict (2048): Declaration of SearchComponent::beforeRender() should be compatible with Component::beforeRender(Controller $controller) [/home/bn94xt96/cake/app/Plugin/Usermgmt/Controller/Component/SearchComponent.php, line 0]
Strict (2048): Declaration of SearchingBehavior::setup() should be compatible with ModelBehavior::setup(Model $model, $config = Array) [/home/bn94xt96/cake/app/Plugin/Usermgmt/Model/Behavior/SearchingBehavior.php, line 4]
Strict (2048): Declaration of SearchingBehavior::beforeFind() should be compatible with ModelBehavior::beforeFind(Model $model, $query) [/home/bn94xt96/cake/app/Plugin/Usermgmt/Model/Behavior/SearchingBehavior.php, line 4]
CakePHP: the rapid development php framework: Errors

Database Error

Error: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column `bn94xt96_maykkynet`.`mnt_user_activities`.`user_id` at row 1

SQL Query: UPDATE `bn94xt96_maykkynet`.`mnt_user_activities` SET `id` = 11, `useragent` = '', `user_id` = '', `last_action` = '', `last_url` = '/mnt/', `logout_time` = NULL, `user_browser` = 'CCBot/2.0 (https://commoncrawl.org/faq/)', `ip_address` = '3.227.240.143', `logout` = 0, `deleted` = 0, `status` = 0, `created` = '2012-07-31 13:20:49', `modified` = '2020-01-24 22:56:12' WHERE `bn94xt96_maykkynet`.`mnt_user_activities`.`id` = '11'

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 461PDOStatement->execute(array)
  • CORE/Cake/Model/Datasource/DboSource.php line 427DboSource->_execute(string, array)
  • CORE/Cake/Model/Datasource/Database/Mysql.php line 357DboSource->execute(string)
  • CORE/Cake/Model/Model.php line 1715Mysql->update(UserActivity, array, array)
  • /home/bn94xt96/cake/app/Plugin/Usermgmt/Controller/Component/UserAuthComponent.php line 446Model->save(array, boolean)
  • /home/bn94xt96/cake/app/Plugin/Usermgmt/Controller/Component/UserAuthComponent.php line 84UserAuthComponent->updateActivity(PagesController, string)
  • /home/bn94xt96/cake/app/Controller/AppController.php line 47UserAuthComponent->beforeFilter(PagesController)
  • /home/bn94xt96/cake/app/Controller/AppController.php line 42AppController->userAuth()
  • [internal function]AppController->beforeFilter(CakeEvent)
  • CORE/Cake/Event/CakeEventManager.php line 246call_user_func(array, CakeEvent)
  • CORE/Cake/Controller/Controller.php line 670CakeEventManager->dispatch(CakeEvent)
  • CORE/Cake/Routing/Dispatcher.php line 183Controller->startupProcess()
  • CORE/Cake/Routing/Dispatcher.php line 161Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)
  • /home/bn94xt96/public_html/mnt/index.php line 98Dispatcher->dispatch(CakeRequest, CakeResponse)

SQL DUMP:

(default) 8 queries took 39 ms
NrQueryErrorAffectedNum. rowsTook (ms)
1SELECT `UserSetting`.`id`, `UserSetting`.`name`, `UserSetting`.`name_public`, `UserSetting`.`value`, `UserSetting`.`type` FROM `bn94xt96_maykkynet`.`mnt_user_settings` AS `UserSetting` WHERE 1 = 142420
2SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified`, `User`.`id`, `User`.`fb_id`, `User`.`fb_access_token`, `User`.`twt_id`, `User`.`twt_access_token`, `User`.`twt_access_secret`, `User`.`ldn_id`, `User`.`user_group_id`, `User`.`username`, `User`.`password`, `User`.`salt`, `User`.`email`, `User`.`first_name`, `User`.`last_name`, `User`.`active`, `User`.`email_verified`, `User`.`last_login`, `User`.`by_admin`, `User`.`created`, `User`.`modified` FROM `bn94xt96_maykkynet`.`mnt_user_activities` AS `UserActivity` LEFT JOIN `bn94xt96_maykkynet`.`mnt_users` AS `User` ON (`UserActivity`.`user_id` = `User`.`id`) WHERE `UserActivity`.`useragent` = '' LIMIT 11117
3SELECT COUNT(*) AS `count` FROM `bn94xt96_maykkynet`.`mnt_user_activities` AS `UserActivity` WHERE `UserActivity`.`id` = 111117
4SELECT COUNT(*) AS `count` FROM `bn94xt96_maykkynet`.`mnt_user_activities` AS `UserActivity` WHERE `UserActivity`.`id` = 11110
5SELECT `UserSetting`.`id`, `UserSetting`.`name`, `UserSetting`.`name_public`, `UserSetting`.`value`, `UserSetting`.`type` FROM `bn94xt96_maykkynet`.`mnt_user_settings` AS `UserSetting` WHERE 1 = 142424
6SELECT `UserActivity`.`id`, `UserActivity`.`useragent`, `UserActivity`.`user_id`, `UserActivity`.`last_action`, `UserActivity`.`last_url`, `UserActivity`.`logout_time`, `UserActivity`.`user_browser`, `UserActivity`.`ip_address`, `UserActivity`.`logout`, `UserActivity`.`deleted`, `UserActivity`.`status`, `UserActivity`.`created`, `UserActivity`.`modified`, `User`.`id`, `User`.`fb_id`, `User`.`fb_access_token`, `User`.`twt_id`, `User`.`twt_access_token`, `User`.`twt_access_secret`, `User`.`ldn_id`, `User`.`user_group_id`, `User`.`username`, `User`.`password`, `User`.`salt`, `User`.`email`, `User`.`first_name`, `User`.`last_name`, `User`.`active`, `User`.`email_verified`, `User`.`last_login`, `User`.`by_admin`, `User`.`created`, `User`.`modified` FROM `bn94xt96_maykkynet`.`mnt_user_activities` AS `UserActivity` LEFT JOIN `bn94xt96_maykkynet`.`mnt_users` AS `User` ON (`UserActivity`.`user_id` = `User`.`id`) WHERE `UserActivity`.`useragent` = '' LIMIT 1111
7SELECT COUNT(*) AS `count` FROM `bn94xt96_maykkynet`.`mnt_user_activities` AS `UserActivity` WHERE `UserActivity`.`id` = 11110
8SELECT COUNT(*) AS `count` FROM `bn94xt96_maykkynet`.`mnt_user_activities` AS `UserActivity` WHERE `UserActivity`.`id` = 11110
Warning (2): mkdir() [function.mkdir]: Permission denied [CORE/Cake/Cache/Engine/FileEngine.php, line 301]
Warning (512): SplFileInfo::openFile(../../cake/app/tmp/cache/persistent/myapp_cake_core_file_map) [splfileinfo.openfile]: failed to open stream: No such file or directory [CORE/Cake/Cache/Engine/FileEngine.php, line 313]
Warning (512): _cake_core_ cache was unable to write 'file_map' to File cache [CORE/Cake/Cache/Cache.php, line 309]
Warning (2): mkdir() [function.mkdir]: Permission denied [CORE/Cake/Cache/Engine/FileEngine.php, line 301]
Warning (512): SplFileInfo::openFile(../../cake/app/tmp/cache/persistent/myapp_cake_core_object_map) [splfileinfo.openfile]: failed to open stream: No such file or directory [CORE/Cake/Cache/Engine/FileEngine.php, line 313]
Warning (512): _cake_core_ cache was unable to write 'object_map' to File cache [CORE/Cake/Cache/Cache.php, line 309]
Warning (2): mkdir() [function.mkdir]: Permission denied [CORE/Cake/Cache/Engine/FileEngine.php, line 301]
Warning (512): SplFileInfo::openFile(../../cake/app/tmp/cache/persistent/myapp_cake_core_method_cache) [splfileinfo.openfile]: failed to open stream: No such file or directory [CORE/Cake/Cache/Engine/FileEngine.php, line 313]
Warning (512): _cake_core_ cache was unable to write 'method_cache' to File cache [CORE/Cake/Cache/Cache.php, line 309]