Here is the error I'm receiving
Server Error Log
Error Info
ErrorException: Use of undefined constant __DIR__ - assumed '__DIR__' - library/XenCentral/Framework/Hooks.php:23
Generated By: Unknown Account, A moment ago
Stack Trace
#0 /var/www/vhosts/website.com/httpdocs/website.com/library/XenCentral/Framework/Hooks.php(23): XenForo_Application::handlePhpError(Object(Nobita_PromoteAndDemote_ControllerPublic_Member), Object(XenForo_ControllerResponse_View), 'XenForo_Control...', 'RecentContent')
#1 [internal function]: XenCentral_Framework_Hooks:

ostDispatch(Array, Array)
#2 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/CodeEvent.php(58): call_user_func_array('controller_post...', Array, 'XenForo_Control...')
#3 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/Controller.php(361): XenForo_CodeEvent::fire(Object(XenForo_ControllerResponse_View), 'XenForo_Control...', 'RecentContent')
#4 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/FrontController.php(344): XenForo_Controller->postDispatch(Object(XenForo_RouteMatch))
#5 /var/www/vhosts/website.com/httpdocs/website.com/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch()
#6 /var/www/vhosts/website.com/httpdocs/website.com/index.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
["url"] => string(70) "
http://www.website.com/members/test/recent-content"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}