Changed line 25 to get around the missing $controllerName but am now getting an array_slice error
New Line 25
PHP:
$controllerForum->preDispatch('index', 'XenForo_ControllerPublic_Forum');
Line still giving error (line 38):
PHP:
$controllerResponse->params['threads'] = array_slice($controllerResponse->params['threads'], 0, $threadsToShow - 1);
Can comment out the above line and all is well .. otherwise .. get this error.
Code:
XenForo_Application::handlePhpError()
array_slice() in ShowResearchNotes.php at line 38
ShowResearchNotes::showResearchNotesInPage()
call_user_func_array() in XenForo/ControllerPublic/Page.php at line 46
XenForo_ControllerPublic_Page->actionIndex() in XenForo/FrontController.php at line 337
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /path/community/index.php at line 13