При каких-то определенных условиях(сам не сталкивался) выкидывает пару ошибок в журнал:
Текущии версии:
Xenforo 2.2.6 Patch 2
XFRM 2.2.2
Мигрировал с
xenforo 2.1.12
XFRM 2.1.6 (если не ошибаюсь)
[LT] XFRM Download Criteria 1.0.0
Плагин [LT] XFRM Download Criteria 1.0.0 после миграции удалил, так как все критерии импортировались правильно на новый плагин.
ErrorException: [E_NOTICE] Trying to get property 'tc_user_criteria' of non-object
src/addons/TC/XFRMDownloadCriteria/XFRM/Pub/Controller/Category.php:34
#0 src/addons/TC/XFRMDownloadCriteria/XFRM/Pub/Controller/Category.php(34): XF::handlePhpError(8, '[E_NOTICE] Tryi...', 'src/ad...', 34, Array)
#1 src/XF/Mvc/Dispatcher.php(350): TC\XFRMDownloadCriteria\XFRM\Pub\Controller\Category->actionAdd(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XFRM:Category', 'Add', Object(XF\Mvc\RouteMatch), Object(TC\XFRMDownloadCriteria\XFRM\Pub\Controller\Category), NULL)
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(TC\XFRMDownloadCriteria\XFRM\Pub\Controller\Category), NULL)
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#6 src/XF.php(512): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}
src/addons/TC/XFRMDownloadCriteria/XFRM/Pub/Controller/Category.php:34
#0 src/addons/TC/XFRMDownloadCriteria/XFRM/Pub/Controller/Category.php(34): XF::handlePhpError(8, '[E_NOTICE] Tryi...', 'src/ad...', 34, Array)
#1 src/XF/Mvc/Dispatcher.php(350): TC\XFRMDownloadCriteria\XFRM\Pub\Controller\Category->actionAdd(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XFRM:Category', 'Add', Object(XF\Mvc\RouteMatch), Object(TC\XFRMDownloadCriteria\XFRM\Pub\Controller\Category), NULL)
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(TC\XFRMDownloadCriteria\XFRM\Pub\Controller\Category), NULL)
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#6 src/XF.php(512): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}
TypeError: Argument 2 passed to XF\App::criteria() must be of the type array, null given, called in /var/www/src/addons/TC/XFRMDownloadCriteria/XFRM/Pub/Controller/Category.php on line 34 src/XF/App.php:3087
#0 src/addons/TC/XFRMDownloadCriteria/XFRM/Pub/Controller/Category.php(34): XF\App->criteria('XF:User', NULL)
#1 src/XF/Mvc/Dispatcher.php(350): TC\XFRMDownloadCriteria\XFRM\Pub\Controller\Category->actionAdd(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XFRM:Category', 'Add', Object(XF\Mvc\RouteMatch), Object(TC\XFRMDownloadCriteria\XFRM\Pub\Controller\Category), NULL)
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(TC\XFRMDownloadCriteria\XFRM\Pub\Controller\Category), NULL)
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#6 src/XF.php(512): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}
#0 src/addons/TC/XFRMDownloadCriteria/XFRM/Pub/Controller/Category.php(34): XF\App->criteria('XF:User', NULL)
#1 src/XF/Mvc/Dispatcher.php(350): TC\XFRMDownloadCriteria\XFRM\Pub\Controller\Category->actionAdd(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XFRM:Category', 'Add', Object(XF\Mvc\RouteMatch), Object(TC\XFRMDownloadCriteria\XFRM\Pub\Controller\Category), NULL)
#3 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(TC\XFRMDownloadCriteria\XFRM\Pub\Controller\Category), NULL)
#4 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2344): XF\Mvc\Dispatcher->run()
#6 src/XF.php(512): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}
Xenforo 2.2.6 Patch 2
XFRM 2.2.2
Мигрировал с
xenforo 2.1.12
XFRM 2.1.6 (если не ошибаюсь)
[LT] XFRM Download Criteria 1.0.0
Плагин [LT] XFRM Download Criteria 1.0.0 после миграции удалил, так как все критерии импортировались правильно на новый плагин.