Fixed Undefined index: permissions Server Error x20

Freelancer

Active Member
(Latest Build)

Now I can post a new thread in a Social Groups Forum again, but when I do it generates 20 Server Errors per thread that are like this:

Code:
Error Info
Undefined index: permissions - library/Nobita/Teams/Model/Team.php:1234

Stack Trace
#0 /var/www/clients/client180/web812/web/library/Nobita/Teams/Model/Team.php(1234): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/client...', 1234, Array)
#1 /var/www/clients/client180/web812/web/library/Nobita/Teams/XenForo/Model/Forum.php(143): Nobita_Teams_Model_Team->canViewTeamAndContainer(Array, Array, NULL, Array)
#2 /var/www/clients/client180/web812/web/library/XenForo/Model/Thread.php(857): Nobita_Teams_XenForo_Model_Forum->canViewForum(Array, NULL, Array, Array)
#3 /var/www/clients/client180/web812/web/library/XenForo/Model/ForumWatch.php(271): XenForo_Model_Thread->canViewThreadAndContainer(Array, Array, NULL, Array, Array)
#4 /var/www/clients/client180/web812/web/library/SV/UserTaggingImprovements/XenForo/Model/ForumWatch.php(20): XenForo_Model_ForumWatch->sendNotificationToWatchUsersOnMessage(Array, Array, Array, Array)
#5 /var/www/clients/client180/web812/web/library/XenForo/DataWriter/DiscussionMessage/Post.php(176): SV_UserTaggingImprovements_XenForo_Model_ForumWatch->sendNotificationToWatchUsersOnMessage(Array, NULL, Array, Array)
#6 /var/www/clients/client180/web812/web/library/Nobita/Teams/XenForo/DataWriter/DiscussionMessage/Post.php(32): XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
#7 /var/www/clients/client180/web812/web/library/Siropu/Chat/DataWriter/Extend/Post.php(54): Nobita_Teams_XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
#8 /var/www/clients/client180/web812/web/library/XenForo/DataWriter.php(1437): Siropu_Chat_DataWriter_Extend_Post->_postSaveAfterTransaction()
#9 /var/www/clients/client180/web812/web/library/XenForo/DataWriter/Discussion.php(491): XenForo_DataWriter->save()
#10 /var/www/clients/client180/web812/web/library/XenForo/DataWriter/Discussion.php(435): XenForo_DataWriter_Discussion->_saveFirstMessageDw()
#11 /var/www/clients/client180/web812/web/library/XenForo/DataWriter.php(1423): XenForo_DataWriter_Discussion->_postSave()
#12 /var/www/clients/client180/web812/web/library/XenForo/ControllerPublic/Forum.php(830): XenForo_DataWriter->save()
#13 /var/www/clients/client180/web812/web/library/STO/XenForo/ControllerPublic/Forum.php(22): XenForo_ControllerPublic_Forum->actionAddThread()
#14 /var/www/clients/client180/web812/web/library/phc/AttachmentPlus/Extend/XenForo/ControllerPublic/Forum.php(93): STO_XenForo_ControllerPublic_Forum->actionAddThread()
#15 /var/www/clients/client180/web812/web/library/Nobita/Teams/XenForo/ControllerPublic/Forum.php(118): phc_AttachmentPlus_Extend_XenForo_ControllerPublic_Forum->actionAddThread()
#16 /var/www/clients/client180/web812/web/library/XFA/ForumSales/Extends/ControllerPublic/Forum.php(50): Nobita_Teams_XenForo_ControllerPublic_Forum->actionAddThread()
#17 /var/www/clients/client180/web812/web/library/XFA/ExtendedCover/Extends/XenForo/ControllerPublic/Forum.php(47): XFA_ForumSales_Extends_ControllerPublic_Forum->actionAddThread()
#18 /var/www/clients/client180/web812/web/library/TagEss/XenForo/ControllerPublic/Forum.php(94): XFA_ExtendedCover_Extends_XenForo_ControllerPublic_Forum->actionAddThread()
#19 /var/www/clients/client180/web812/web/library/XenForo/FrontController.php(351): TagEss_XenForo_ControllerPublic_Forum->actionAddThread()
#20 /var/www/clients/client180/web812/web/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#21 /var/www/clients/client180/web812/web/index.php(13): XenForo_FrontController->run()
#22 {main}

Request State
Array
(
    [url] => https://www.mywebsite.com/forums/general-discussion.272/add-thread
    [_GET] => Array
        (
            [/forums/general-discussion_272/add-thread] =>
        )

    [_POST] => Array
        (
            [title] => Test
            [message_html] => <p>Test</p>
            [_xfRelativeResolver] => https://www.mywebsite.com/forums/general-discussion.272/create-thread
            [tags] =>
            [attachment_hash] => d51444bbf1da1aaa59287a85b6dda53b
            [watch_thread] => 1
            [watch_thread_state] => 1
            [discussion_open] => 1
            [_set] => Array
                (
                    [discussion_open] => 1
                    [sticky] => 1
                )

            [poll] => Array
                (
                    [question] =>
                    [responses] => Array
                        (
                            [0] =>
                            [1] =>
                        )

                    [max_votes_type] => single
                    [change_vote] => 1
                    [view_results_unvoted] => 1
                )

            [_xfToken] => ********
            [_xfRequestUri] => /forums/general-discussion.272/create-thread
            [_xfNoRedirect] => 1
            [_xfResponseType] => json
        )

)
 
This does not only happen when posting a new thread but also happens when someone replies...

Code:
Error Info
Undefined index: permissions - library/Nobita/Teams/Model/Team.php:1234

Stack Trace
#0 /var/www/clients/client180/web812/web/library/Nobita/Teams/Model/Team.php(1234): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/client...', 1234, Array)
#1 /var/www/clients/client180/web812/web/library/Nobita/Teams/XenForo/Model/Forum.php(143): Nobita_Teams_Model_Team->canViewTeamAndContainer(Array, Array, NULL, Array)
#2 /var/www/clients/client180/web812/web/library/XenForo/Model/Thread.php(857): Nobita_Teams_XenForo_Model_Forum->canViewForum(Array, NULL, Array, Array)
#3 /var/www/clients/client180/web812/web/library/XenForo/Model/ThreadWatch.php(226): XenForo_Model_Thread->canViewThreadAndContainer(Array, Array, NULL, Array, Array)
#4 /var/www/clients/client180/web812/web/library/SV/PersistentAlert/XenForo/Model/ThreadWatch.php(135): XenForo_Model_ThreadWatch->sendNotificationToWatchUsersOnReply(Array, Array, Array)
#5 /var/www/clients/client180/web812/web/library/SV/UserTaggingImprovements/XenForo/Model/ThreadWatch.php(20): SV_PersistentAlert_XenForo_Model_ThreadWatch->sendNotificationToWatchUsersOnReply(Array, NULL, Array)
#6 /var/www/clients/client180/web812/web/library/XenForo/DataWriter/DiscussionMessage/Post.php(164): SV_UserTaggingImprovements_XenForo_Model_ThreadWatch->sendNotificationToWatchUsersOnReply(Array, NULL, Array)
#7 /var/www/clients/client180/web812/web/library/Nobita/Teams/XenForo/DataWriter/DiscussionMessage/Post.php(32): XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
#8 /var/www/clients/client180/web812/web/library/Siropu/Chat/DataWriter/Extend/Post.php(54): Nobita_Teams_XenForo_DataWriter_DiscussionMessage_Post->_postSaveAfterTransaction()
#9 /var/www/clients/client180/web812/web/library/XenForo/DataWriter.php(1437): Siropu_Chat_DataWriter_Extend_Post->_postSaveAfterTransaction()
#10 /var/www/clients/client180/web812/web/library/XenForo/ControllerPublic/Thread.php(578): XenForo_DataWriter->save()
#11 /var/www/clients/client180/web812/web/library/SV/AlertImprovements/XenForo/ControllerPublic/Thread.php(47): XenForo_ControllerPublic_Thread->actionAddReply()
#12 /var/www/clients/client180/web812/web/library/phc/AttachmentPlus/Extend/XenForo/ControllerPublic/Thread.php(77): SV_AlertImprovements_XenForo_ControllerPublic_Thread->actionAddReply()
#13 /var/www/clients/client180/web812/web/library/XenForo/FrontController.php(351): phc_AttachmentPlus_Extend_XenForo_ControllerPublic_Thread->actionAddReply()
#14 /var/www/clients/client180/web812/web/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#15 /var/www/clients/client180/web812/web/index.php(13): XenForo_FrontController->run()
#16 {main}

Request State
Array
(
    [url] => https://www.mywebsite.com/threads/woodford-reserve-double-oaked.1666/add-reply
    [_GET] => Array
        (
            [/threads/woodford-reserve-double-oaked_1666/add-reply] => 
        )

    [_POST] => Array
        (
            [message] => First of all I was happy to get the post online ;-)
The rest will follow . . . 
            [_xfRelativeResolver] => https://www.mywebsite.com/threads/woodford-reserve-double-oaked.1666/
            [attachment_hash] => 213cf0c52e3d1e613cc1687cc72e5a46
            [last_date] => 1507890386
            [last_known_date] => 1507890386
            [_xfToken] => ********
            [_xfRequestUri] => /threads/woodford-reserve-double-oaked.1666/
            [_xfNoRedirect] => 1
            [_xfResponseType] => json
        )

)
 
It is look like incompatible with an addon which have named "UserTaggingImprovements". Anyway i have make another to improvement it.
 
Sooooo it seems to be fixed for FORUMS but not for the WALL... when I post something on the wall I get this:

Code:
Error Info
Undefined index: user_state - library/Nobita/Teams/Model/Post.php:819

Stack Trace
#0 /var/www/clients/client180/web812/web/library/Nobita/Teams/Model/Post.php(819): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/client...', 819, Array)
#1 /var/www/clients/client180/web812/web/library/Nobita/Teams/DataWriter/Post.php(301): Nobita_Teams_Model_Post->sendNotificationsToUser(Array, Array, Array)
#2 /var/www/clients/client180/web812/web/library/XenForo/DataWriter.php(1437): Nobita_Teams_DataWriter_Post->_postSaveAfterTransaction()
#3 /var/www/clients/client180/web812/web/library/Nobita/Teams/ControllerPublic/Post.php(238): XenForo_DataWriter->save()
#4 /var/www/clients/client180/web812/web/library/XenForo/FrontController.php(351): Nobita_Teams_ControllerPublic_Post->actionInsert()
#5 /var/www/clients/client180/web812/web/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 /var/www/clients/client180/web812/web/index.php(13): XenForo_FrontController->run()
#7 {main}

Request State
Array
(
    [url] => https://www.mywebsite.com/groups/posts/insert
    [_GET] => Array
        (
            [/groups/posts/insert] => 
        )

    [_POST] => Array
        (
            [message_html] => <p><b>xxxxxxxxxxxxxxxx:</b> xxxxxxxxxxx <i>xxxxxxx</i>, <i>xxxxxxx</i> xxx <i>xxxxxx xxxxxx</i>. xxxxxxxxxxxxxx xxxxxxx xxxx xxxxxx xxxxx.</p>
            [_xfRelativeResolver] => https://www.mywebsite.com/groups/my-group/
            [share_privacy] => public
            [attachment_hash] => eff97874b0f1e9f1108d10c467a5ed86
            [_xfToken] => ********
            [team_id] => 82
            [_xfRequestUri] => /groups/my-group/
            [_xfNoRedirect] => 1
            [_xfResponseType] => json
        )

)
 
Sooooo it seems to be fixed for FORUMS but not for the WALL... when I post something on the wall I get this:

Code:
Error Info
Undefined index: user_state - library/Nobita/Teams/Model/Post.php:819

Stack Trace
#0 /var/www/clients/client180/web812/web/library/Nobita/Teams/Model/Post.php(819): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/client...', 819, Array)
#1 /var/www/clients/client180/web812/web/library/Nobita/Teams/DataWriter/Post.php(301): Nobita_Teams_Model_Post->sendNotificationsToUser(Array, Array, Array)
#2 /var/www/clients/client180/web812/web/library/XenForo/DataWriter.php(1437): Nobita_Teams_DataWriter_Post->_postSaveAfterTransaction()
#3 /var/www/clients/client180/web812/web/library/Nobita/Teams/ControllerPublic/Post.php(238): XenForo_DataWriter->save()
#4 /var/www/clients/client180/web812/web/library/XenForo/FrontController.php(351): Nobita_Teams_ControllerPublic_Post->actionInsert()
#5 /var/www/clients/client180/web812/web/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 /var/www/clients/client180/web812/web/index.php(13): XenForo_FrontController->run()
#7 {main}

Request State
Array
(
    [url] => https://www.mywebsite.com/groups/posts/insert
    [_GET] => Array
        (
            [/groups/posts/insert] =>
        )

    [_POST] => Array
        (
            [message_html] => <p><b>xxxxxxxxxxxxxxxx:</b> xxxxxxxxxxx <i>xxxxxxx</i>, <i>xxxxxxx</i> xxx <i>xxxxxx xxxxxx</i>. xxxxxxxxxxxxxx xxxxxxx xxxx xxxxxx xxxxx.</p>
            [_xfRelativeResolver] => https://www.mywebsite.com/groups/my-group/
            [share_privacy] => public
            [attachment_hash] => eff97874b0f1e9f1108d10c467a5ed86
            [_xfToken] => ********
            [team_id] => 82
            [_xfRequestUri] => /groups/my-group/
            [_xfNoRedirect] => 1
            [_xfResponseType] => json
        )

)
FreelancerAdded that field into query :D
 
Back
Top