1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Paired errors

Discussion in 'Troubleshooting and Problems' started by The Sandman, Aug 3, 2015.

  1. The Sandman

    The Sandman Well-Known Member

    Starting this morning I suddenly started getting a bunch of these errors - always in pairs. Up to 4 pages of them now. I hadn't done anything at all to the backend today:
    Code:
    Server Error Log
    Error Info
    ErrorException: Argument 1 passed to XenForo_Permission::hasPermission() must be of the type array, null given, called in /srv/www/theadminzone.com/public_html/library/XenForo/Model/ProfilePost.php on line 1408 and defined - library/XenForo/Permission.php:27
    Generated By: Unknown Account, Today at 10:11 AM
    Stack Trace
    #0 /srv/www/theadminzone.com/public_html/library/XenForo/Permission.php(27): XenForo_Application::handlePhpError(4096, 'Argument 1 pass...', '/srv/www/theadm...', 27, Array)
    #1 /srv/www/theadminzone.com/public_html/library/XenForo/Model/ProfilePost.php(1408): XenForo_Permission::hasPermission(NULL, 'profilePost', 'view')
    #2 /srv/www/theadminzone.com/public_html/library/XenForo/AlertHandler/ProfilePostComment.php(83): XenForo_Model_ProfilePost->canViewProfilePostComment(Array, Array, Array, NULL, Array)
    #3 /srv/www/theadminzone.com/public_html/library/XenPushover/Model/Pushover.php(516): XenForo_AlertHandler_ProfilePostComment->canViewAlert(Array, Array, Array)
    #4 /srv/www/theadminzone.com/public_html/library/XenPushover/Deferred/Pushover.php(18): XenPushover_Model_Pushover->push(454319, 3)
    #5 /srv/www/theadminzone.com/public_html/library/XenForo/Model/Deferred.php(294): XenPushover_Deferred_Pushover->execute(Array, Array, 7.9999990463257, '')
    #6 /srv/www/theadminzone.com/public_html/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.9999990463257, '', false)
    #7 /srv/www/theadminzone.com/public_html/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
    #8 /srv/www/theadminzone.com/public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
    #9 {main}
    Request State
    array(3) {
      ["url"] => string(37) "https://theadminzone.com/deferred.php"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(3) {
        ["_xfRequestUri"] => string(62) "/threads/millioncms-is-seeking-developers-and-designers.78034/"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    
    Code:
    Error Info
    ErrorException: Undefined index: permissions - library/XenForo/Model/ProfilePost.php:1408
    Generated By: Unknown Account, Today at 10:11 AM
    Stack Trace
    #0 /srv/www/theadminzone.com/public_html/library/XenForo/Model/ProfilePost.php(1408): XenForo_Application::handlePhpError(8, 'Undefined index...', '/srv/www/theadm...', 1408, Array)
    #1 /srv/www/theadminzone.com/public_html/library/XenForo/AlertHandler/ProfilePostComment.php(83): XenForo_Model_ProfilePost->canViewProfilePostComment(Array, Array, Array, NULL, Array)
    #2 /srv/www/theadminzone.com/public_html/library/XenPushover/Model/Pushover.php(516): XenForo_AlertHandler_ProfilePostComment->canViewAlert(Array, Array, Array)
    #3 /srv/www/theadminzone.com/public_html/library/XenPushover/Deferred/Pushover.php(18): XenPushover_Model_Pushover->push(454319, 3)
    #4 /srv/www/theadminzone.com/public_html/library/XenForo/Model/Deferred.php(294): XenPushover_Deferred_Pushover->execute(Array, Array, 7.9999990463257, '')
    #5 /srv/www/theadminzone.com/public_html/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.9999990463257, '', false)
    #6 /srv/www/theadminzone.com/public_html/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
    #7 /srv/www/theadminzone.com/public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
    #8 {main}
    Request State
    array(3) {
      ["url"] => string(37) "https://theadminzone.com/deferred.php"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(3) {
        ["_xfRequestUri"] => string(62) "/threads/millioncms-is-seeking-developers-and-designers.78034/"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }
    
     
  2. Slavik

    Slavik XenForo Moderator Staff Member

    Looks related to the XenPushover addon.
     
  3. The Sandman

    The Sandman Well-Known Member

    Up to 14 pages of the same errors - should this be moved to the Pushover support thread @Chris D or is it unrelated to that add-on?
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    I think it could be related. I was looking into it last night.

    Leave it with me :)
     

Share This Page