Fixed Error after replying

ehd

Member
When replying to a thread, an error occurs:

Argument 1 passed to XenForo_Permission::hasPermission() must be of the type array, null given, called in xyz/forum/library/Nobita/Teams/Model/Team.php on line 1220 and defined
XenForo_Application::handlePhpError() in XenForo/Permission.php at line 27
XenForo_Permission::hasPermission() in Nobita/Teams/Model/Team.php at line 1220
Nobita_Teams_Model_Team->canViewTeamClosedAndContainer() in Nobita/Teams/Model/Team.php at line 1204
Nobita_Teams_Model_Team->canViewTeamAndContainer() in Nobita/Teams/XenForo/Model/Forum.php at line 62
Nobita_Teams_XenForo_Model_Forum->canViewForum() in XenForo/Model/Thread.php at line 857
XenForo_Model_Thread->canViewThreadAndContainer() in XenForo/Model/ForumWatch.php at line 271
XenForo_Model_ForumWatch->sendNotificationToWatchUsersOnMessage() in XenForo/DataWriter/DiscussionMessage/Post.php at line 176
XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction() in Nobita/Teams/XenForo/DataWriter/DiscussionMessage/Post.php at line 35
Nobita_Teams_XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction() in KeywordAlert/XenForo/DataWriter/DiscussionMessage/Post.php at line 52
KeywordAlert_XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction() in XenForo/DataWriter.php at line 1437
XenForo_DataWriter->save() in Andy/InsertAttachment/DataWriter.php at line 8
Andy_InsertAttachment_DataWriter->save() in XenForo/ControllerPublic/Thread.php at line 578
XenForo_ControllerPublic_Thread->actionAddReply() in sonnbStopSpamHere/ControllerPublic/Thread.php at line 21
sonnbStopSpamHere_ControllerPublic_Thread->actionAddReply() in phc/Linkback/Extend/ControllerPublic/Thread.php at line 26
phc_Linkback_Extend_ControllerPublic_Thread->actionAddReply() in XenForo/FrontController.php at line 351
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in xyz/forum/index.php at line 13


Nevertheless the reply will be posted. But the same message-text is saved as draft in the editor.

Next reply works fine.
 
Back
Top