Discord ErrorException: [E_NOTICE] Trying to access array offset on value of type bool

Affected version
2.5.2
Server error log:

Code:
ErrorException: [E_NOTICE] Trying to access array offset on value of type bool src/addons/NF/Discord/XF/Entity/UserAlert.php:36

Generated by: sany13 Feb 11, 2021 at 11:13 PM

Stack trace

#0 src/addons/NF/Discord/XF/Entity/UserAlert.php(36): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/nadda/pub...', 36, Array)
#1 src/XF.php(341): NF\Discord\XF\Entity\UserAlert->NF\Discord\XF\Entity\{closure}()
#2 src/XF/Mvc/Dispatcher.php(156): XF::triggerRunOnce(true)
#3 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(2326): XF\Mvc\Dispatcher->run()
#5 src/XF.php(488): XF\App->run()
#6 index.php(20): XF::runApp('XF\\Pub\\App')
#7 {main}

Request state

array(4) {
  ["url"] => string(32) "/posts/93324/react?reaction_id=1"
  ["referrer"] => string(36) "/threads/6740/"
  ["_GET"] => array(1) {
    ["reaction_id"] => string(1) "1"
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(14) "/threads/6740/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Top