title: Fatal error: Unsupported operand types - PHP
body: <p>first time posting, usually just lurk around getting help from other answered questions, so thank you all very much for your help!</p>
  
  <p>I just have a quick question. I'm installing an add-on for a forum base, and it's giving me:</p>
  
  <pre><code>Fatal error: Unsupported operand types in /home/joelwmale/public_html/forums/library/LatestThread/Controller/Public.php on line 13
  </code></pre>
  
  <p>The code at work here is:</p>
  
  <pre><code>&lt;?php
  class LatestThread_Controller_Public extends XFCP_LatestThread_Controller_Public
  {
  public function actionIndex()
  {
      $response = parent::actionIndex();
  
      if ($response instanceof XenForo_ControllerResponse_View)
      {
          $LatestThread = LatestThread_Model_TLatestThread::LatestThreadArray();
      }
  
      $response-&gt;params += array('LatestThread' =&gt; $LatestThread);
      return $response;
  }
  }
  ?&gt;
  </code></pre>
  
  <p>Line 13 is, of course:</p>
  
  <pre><code>        $response-&gt;params += array('LatestThread' =&gt; $LatestThread);
  </code></pre>
  
  <p>I didn't code this, my only hope is to fix this problem so i can use my forums, or else i can't use this add-on :(</p>
  
  <p>thank you in advance!</p>