Witam,
Mam problem z przenoszeniem, zamykaniem, stosowaniem szablonów moderacyjnych.
Przy każdym działaniu moderatora jest "Kod błędu: EX1048".
Super moderator oraz administrator nie mają takiego problemu.
Problem mają moderatorzy danego działu. Uprawnienia mają odpowiednie.
Efektu nie daje uruchomienie wsparcia technicznego.
Pojawianie się problemu skutkuje aktualizacją z 4.1.16.1 do 4.1.17.1
Kod wygląda:
INSERT INTO `core_notifications` ( `sent_time`, `updated_time`, `member`, `notification_app`, `notification_key`, `item_class`, `item_id`, `member_data`, `item_sub_class`, `item_sub_id`, `extra` ) VALUES ( 1482155910, 1482155910, NULL, 'core', 'new_comment', 'IPS\forums\Topic', 2302, '{"follow_id":"533ae71239f0017558225cbc28752be1","follow_app":"core","follow_area":"member","follow_rel_id":7,"follow_member_id":501,"follow_is_anon":0,"follow_added":1477402531,"follow_notify_do":1,"follow_notify_meta":"","follow_notify_freq":"immediate","follow_notify_sent":1482155540,"follow_visible":1,"follow_index_id":null}', 'IPS\forums\Topic\Post', 14691, NULL )
IPS\Db\Exception: Column 'member' cannot be null (1048)
#0 /home/shotkibc/public_html/system/Db/Db.php(695): IPS\_Db->preparedQuery('/*IPS\\Notificat...', Array)
#1 /home/shotkibc/public_html/system/Patterns/ActiveRecord.php(458): IPS\_Db->insert('core_notificati...', Array)
#2 /home/shotkibc/public_html/system/Notification/Inline.php(221): IPS\Patterns\_ActiveRecord->save()
#3 /home/shotkibc/public_html/system/Notification/Notification.php(473): IPS\Notification\_Inline->save()
#4 /home/shotkibc/public_html/system/Content/Content.php(1506): IPS\_Notification->send(Array)
#5 /home/shotkibc/public_html/system/Content/Content.php(1470): IPS\_Content->sendNotificationsBatch(0, Array)
#6 /home/shotkibc/public_html/system/Content/Comment.php(254): IPS\_Content->sendNotifications()
#7 [internal function]: IPS\Content\_Comment::create(Object(IPS\forums\Topic), '<center>\n\t<img ...', false, NULL, 1, Object(IPS\Member), NULL, NULL, NULL)
#8 /home/shotkibc/public_html/applications/forums/sources/Topic/Post.php(132): call_user_func_array('parent::create', Array)
#9 /home/shotkibc/public_html/init.php(444) : eval()'d code(27): IPS\forums\Topic\_Post::create(Object(IPS\forums\Topic), '<center>\n\t<img ...', false, NULL, 1, NULL, NULL, NULL, NULL)
#10 /home/shotkibc/public_html/applications/forums/sources/SavedAction/SavedAction.php(287): IPS\forums\Topic\cms_hook_Post::create(Object(IPS\forums\Topic), '<center>\n\t<img ...', false, NULL, 1)
#11 /home/shotkibc/public_html/applications/forums/modules/front/forums/topic.php(680): IPS\forums\_SavedAction->runOn(Object(IPS\forums\Topic))
#12 [internal function]: IPS\forums\modules\front\forums\_topic->savedAction()
#13 /home/shotkibc/public_html/system/Dispatcher/Controller.php(85): call_user_func(Array)
#14 /home/shotkibc/public_html/system/Content/Controller.php(51): IPS\Dispatcher\_Controller->execute()
#15 /home/shotkibc/public_html/applications/forums/modules/front/forums/topic.php(40): IPS\Content\_Controller->execute()
#16 /home/shotkibc/public_html/system/Dispatcher/Dispatcher.php(129): IPS\forums\modules\front\forums\_topic->execute()
#17 /home/shotkibc/public_html/index.php(13): IPS\_Dispatcher->run()
#18 {main}