Fatal Error: Unsupported operand types

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!
 

truonglv

Formerly Nobita.Kun
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!
PHP:
$response->params['xfRecentStatus'] = $xfRecentStatus['status'];
Try to :p
 
Top