After upgrading to 1.2
Began to leave a bug in the plugin:
Fatal error: Unsupported operand types in
Began to leave a bug in the plugin:
Fatal error: Unsupported operand types in
Please look at what's needed to fix it:/home/liferf.com/public_html/library/LastPosts/Controller/Public.php on line 22
PHP:
<?php
class LastPosts_Controller_Public extends XFCP_LastPosts_Controller_Public {
public function actionIndex()
{
$response = parent::actionIndex();
if ($response instanceof XenForo_ControllerResponse_View)
{
$xfPosts = LastPosts_Model_PostList::getPostsArray();
}
$response->params += array('xfPosts' => $xfPosts);
return $response;
}
}
?>