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

Fatal Error: Unsupported operand types

Discussion in 'XenForo Development Discussions' started by Joshua, Aug 7, 2013.

  1. Joshua

    Joshua Active Member

    Trying to troubleshoot some add-on problems I'm getting after upgrading to 1.2...
    I'm wondering if someone can help me determine why this line
    PHP:
    $response->params += array('xfRecentStatus' => $xfRecentStatus['status']);
    triggers an "Unsupported operand type" error

    Thanks in advance!
     
  2. Nobita.Kun

    Nobita.Kun Well-Known Member

    PHP:
    $response->params['xfRecentStatus'] = $xfRecentStatus['status'];
    Try to :p
     
  3. Joshua

    Joshua Active Member

    Thank you! That seems to be working!
     

Share This Page