PHP Warning: array_key_exists() expects parameter 2 to be array

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gizmo99
    Senior Member
    • Feb 2002
    • 202
    • 5.5.x

    PHP Warning: array_key_exists() expects parameter 2 to be array

    Ok

    see this every time to try and read thread !

    PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/vhosts/htdocs/bbs_4/core/vb/permissioncontext.php on line 295, referer: **************


    this is the code

    LINE 295 > if (!array_key_exists($channelid, $this->channelPermissions[$usergroupid]))
    {
    //Let's see if there is a permissionsfrom entry
    if (empty($this->permissionsFrom[$usergroupid][$channelid]))
    {
    return array();
    }
    $channelid = $this->permissionsFrom[$usergroupid][$channelid];
    }


    http://bbs.rsownersclub.co.uk
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    What version of vBulletin?
    What version of php?
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • Gizmo99
      Senior Member
      • Feb 2002
      • 202
      • 5.5.x

      #3
      Hi Mate

      5.2.6

      and 5.6.30 php


      I am close to finding all issue with our upgrade it looks to be Xcache !!!
      http://bbs.rsownersclub.co.uk

      Comment

      Related Topics

      Collapse

      Working...