Fixed Event::__construct() expects at least 4 parameters, 0 given

abs0lut3

New Member
Hello! Please, help to fix this!

Brief error desctiption:
Throws this when opening any page under URLs /groups/*id* or /groups/browsegroups/*
There weren't templates to merge after I upgraded from 2.6.5... it simply started to throw this error :(

Addon: 2.6.6
PHP: 7.0.*lastest*

Error Info:
ErrorException: Event::__construct() expects at least 4 parameters, 0 given - library/XenForo/Model.php:195
Generated By: Admin, 3 minutes ago

Stack Trace:
#0 [internal function]: XenForo_Application::handlePhpError(2, 'Event::__constr...', '/home/*****/pu...', 195, Array)
#1 /home/*****/public_html/library/XenForo/Model.php(195): Event->__construct()
#2 /home/*****/public_html/library/Nobita/Teams/helpers.php(63): XenForo_Model::create('Event')
#3 /home/*****/public_html/library/Nobita/Teams/Model/Team.php(538): get_model('Event')
#4 /home/*****/public_html/library/Nobita/Teams/ControllerHelper/Team.php(141): Nobita_Teams_Model_Team->prepareTeam(Array, Array)
#5 /home/*****/public_html/library/Nobita/Teams/ControllerPublic/Team.php(1367): Nobita_Teams_ControllerHelper_Team->assertTeamValidAndViewable()
#6 /home/*****/public_html/library/XenForo/FrontController.php(351): Nobita_Teams_ControllerPublic_Team->actionView()
#7 /home/*****/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /home/*****/public_html/index.php(13): XenForo_FrontController->run()
#9 {main}
Содержимое запроса
array(3) {
["url"] => string(28) "https://*****/groups/12/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

Thank you!
 
Back
Top