TypeError: XF\Tag\AbstractHandler::canViewContent(): Argument #1 ($entity) must be of type XF\Mvc\Entity\Entity, null given, called in /home/nadda/public_html/src/addons/DBTech/UserTagging/Alert/Tag.php on line 27 src/XF/Tag/AbstractHandler.php:50
Generated by: KrakatoaIguazu Jun 28, 2022 at 4:07 AM
Stack trace
#0 src/addons/DBTech/UserTagging/Alert/Tag.php(27): XF\Tag\AbstractHandler->canViewContent(NULL, NULL)
#1 src/XF/Entity/UserAlert.php(41): DBTech\UserTagging\Alert\Tag->canViewContent(Object(DBTech\UserTagging\Entity\TagContent), NULL)
#2 src/XF/Pub/Controller/Account.php(1360): XF\Entity\UserAlert->canView()
#3 src/XF/Pub/Controller/Account.php(1323): XF\Pub\Controller\Account->markInaccessibleAlertsReadIfNeeded(Object(XF\Mvc\Entity\ArrayCollection))
#4 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Account->actionAlertsPopup(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Account', 'AlertsPopup', Object(XF\Mvc\RouteMatch), Object(AddonFlare\PaidRegistrations\XF\Pub\Controller\Account), NULL)
#6 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(AddonFlare\PaidRegistrations\XF\Pub\Controller\Account), NULL)
#7 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2352): XF\Mvc\Dispatcher->run()
#9 src/XF.php(524): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}
Request state
array(4) {
["url"] => string(163) "/account/alerts-popup?_xfRequestUri=%2Fthreads%2F91915%2F&_xfWithData=1&_xfToken=1656367673%2C25e6e23205c05d712b44287f29e8eb45&_xfResponseType=json&_=1656367675726"
["referrer"] => string(37) "/threads/91915/"
["_GET"] => array(5) {
["_xfRequestUri"] => string(15) "/threads/91915/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1656367673,25e6e23205c05d712b44287f29e8eb45"
["_xfResponseType"] => string(4) "json"
["_"] => string(13) "1656367675726"
}
["_POST"] => array(0) {
}
}