Bug Alerts bug/issue ??

Status
Not open for further replies.

blood2k

Customer
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
  1. DBTech\Credits\Entity\Transaction->canView() in src/XF/Alert/AbstractHandler.php at line 21
  2. XF\Alert\AbstractHandler->canViewContent() in src/XF/Entity/UserAlert.php at line 39
  3. XF\Entity\UserAlert->canView() in src/XF/Mvc/Entity/AbstractCollection.php at line 320
  4. XF\Mvc\Entity\AbstractCollection->XF\Mvc\Entity\{closure}()
  5. array_filter() in src/XF/Mvc/Entity/AbstractCollection.php at line 189
  6. XF\Mvc\Entity\AbstractCollection->filter() in src/XF/Mvc/Entity/AbstractCollection.php at line 321
  7. XF\Mvc\Entity\AbstractCollection->filterViewable() in src/XF/Pub/Controller/Account.php at line 1151
  8. XF\Pub\Controller\Account->actionAlertsPopup() in src/XF/Mvc/Dispatcher.php at line 350
  9. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
  10. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  11. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  12. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184
  13. XF\App->run() in src/XF.php at line 391
  14. XF::runApp() in index.php at line 20
 

Fillip H.

Staff member
Owner
Developer
This would indicate you have deleted the event this transaction belongs to. I will work around this problem in the next version.
 

DragonByte Technologies

Company Information
Staff member
Company Info
Hello @blood2k,

We hope your ticket regarding DragonByte Credits has been addressed to your satisfaction. This ticket has now been scheduled to be closed.

If your ticket has not been resolved, you can reply to this thread at any point in the next 7 days in order to reopen the ticket, afterwards this thread will be closed.

Please do not reply to this thread if your ticket has been resolved.

Thank you.


- DragonByte Technologies, Ltd.
 
Status
Not open for further replies.

DragonByte Credits

XenForo 1.5.3+ XenForo 2.0.x XenForo 2.1.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
2,573
Customer rating
5.00 star(s) 3 ratings
Top