Today I randomly have this issue when clicking the alerts bell icon:
It started happening randomly. The only thing I remember doing differnt today is I created a new currency, assigned an event to it, earned like 5 credits making a post.. and ultimately decided I would just delete that currency. Could it be an issue with that?
Here's the bug:
Error: Call to a member function canView() on null in src/addons/DBTech/Credits/Entity/Transaction.php at line 58
It started happening randomly. The only thing I remember doing differnt today is I created a new currency, assigned an event to it, earned like 5 credits making a post.. and ultimately decided I would just delete that currency. Could it be an issue with that?
Here's the bug:
Error: Call to a member function canView() on null in src/addons/DBTech/Credits/Entity/Transaction.php at line 58
- DBTech\Credits\Entity\Transaction->canView() in src/XF/Alert/AbstractHandler.php at line 21
- XF\Alert\AbstractHandler->canViewContent() in src/XF/Entity/UserAlert.php at line 39
- XF\Entity\UserAlert->canView() in src/XF/Mvc/Entity/AbstractCollection.php at line 320
- XF\Mvc\Entity\AbstractCollection->XF\Mvc\Entity\{closure}()
- array_filter() in src/XF/Mvc/Entity/AbstractCollection.php at line 189
- XF\Mvc\Entity\AbstractCollection->filter() in src/XF/Mvc/Entity/AbstractCollection.php at line 321
- XF\Mvc\Entity\AbstractCollection->filterViewable() in src/XF/Pub/Controller/Account.php at line 1151
- XF\Pub\Controller\Account->actionAlertsPopup() in src/XF/Mvc/Dispatcher.php at line 350
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
- XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184
- XF\App->run() in src/XF.php at line 391
- XF::runApp() in index.php at line 20