Fattycakez1
Active member
Hi
This Unknown user never expire and it bugged my other upgrades so let's say your ugprade ends today , it will not because of this Unknown user
And server error logs
I found him in my active user upgrades but i couldn't downgrade him what can i do?
This Unknown user never expire and it bugged my other upgrades so let's say your ugprade ends today , it will not because of this Unknown user
And server error logs
Code:
TypeError: Argument 3 passed to XF\Service\User\Downgrade::__construct() must be an instance of XF\Entity\User, null given, called in /home/public_html/src/XF/Container.php on line 270 src/XF/Service/User/Downgrade.php:29
Generated by: xMidNight Jun 11, 2020 at 10:29 AM
Stack trace
#0 src/XF/Container.php(270): XF\Service\User\Downgrade->__construct(Object(XF\Admin\App), Object(NF\GiftUpgrades\XF\Entity\UserUpgrade), NULL)
#1 src/XF/App.php(1570): XF\Container->createObject('NF\\GiftUpgrades...', Array)
#2 src/XF/Container.php(228): XF\App->XF\{closure}('NF\\GiftUpgrades...', Array, Object(XF\Container))
#3 src/XF/App.php(2776): XF\Container->create('service', 'XF:User\\Downgra...', Array)
#4 [internal function]: XF\App->service('XF:User\\Downgra...', Object(NF\GiftUpgrades\XF\Entity\UserUpgrade), NULL)
#5 src/XF/Mvc/Controller.php(738): call_user_func_array(Array, Array)
#6 src/XF/Admin/Controller/UserUpgrade.php(338): XF\Mvc\Controller->service('XF:User\\Downgra...', Object(NF\GiftUpgrades\XF\Entity\UserUpgrade), NULL)
#7 src/addons/SV/ExpiringUserUpgrades/XF/Admin/Controller/UserUpgrade.php(46): XF\Admin\Controller\UserUpgrade->actionDowngrade()
#8 src/XF/Mvc/Dispatcher.php(350): SV\ExpiringUserUpgrades\XF\Admin\Controller\UserUpgrade->actionDowngrade(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XF:UserUpgrade', 'Downgrade', Object(XF\Mvc\RouteMatch), Object(SV\ExpiringUserUpgrades\XF\Admin\Controller\UserUpgrade), NULL)
#10 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ExpiringUserUpgrades\XF\Admin\Controller\UserUpgrade), NULL)
#11 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#13 src/XF.php(391): XF\App->run()
#14 admin.php(13): XF::runApp('XF\\Admin\\App')
#15 {main}
I found him in my active user upgrades but i couldn't downgrade him what can i do?