Call to a member function keys() on array in ...report.php

Crazy-Achmet

Member
Reactions
15
When trying to view a report:

Error: Call to a member function keys() on array in src/addons/SV/AlertImprovements/XF/Pub/Controller/Report.php at line 36
  1. SV\AlertImprovements\XF\Pub\Controller\Report->actionView() in src/addons/SV/PostFriction/XF/Pub/Controller/Report.php at line 22
  2. SV\PostFriction\XF\Pub\Controller\Report->actionView() in src/addons/SV/ReportImprovements/XF/Pub/Controller/Report.php at line 103
  3. SV\ReportImprovements\XF\Pub\Controller\Report->actionView() in src/addons/SV/ReportCentreEssentials/XF/Pub/Controller/Report.php at line 364
  4. SV\ReportCentreEssentials\XF\Pub\Controller\Report->actionView() in src/XF/Mvc/Dispatcher.php at line 350
  5. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
  6. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  7. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  8. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
  9. XF\App->run() in src/XF.php at line 465
  10. XF::runApp() in index.php at line 20
All AddOns are up 2 date.
 
The attached version should fix the issue. I'll release it via XFRM later.

Full changes;
  • Fix "Call to a member function keys() on array"
  • Fix that very old alerts could be shown in the alerts pop-up
  • Increase thickness of border between unread and read alerts
  • Force unread alerts to be preferred when fetching alerts in the alerts pop-up
 

Attachments

  • addon-Xon-AlertImprovements-2.8.17.zip
    59.1 KB · Views: 50

Users who are viewing this thread

Back
Top