Bug XF\CookieConsent::addConsentedGroups(): Argument #1 ($groups) must be of type array, null given

Status
Not open for further replies.

Nirjonadda

Customer
Getting lof of Server error log:

Code:
TypeError: XF\CookieConsent::addConsentedGroups(): Argument #1 ($groups) must be of type array, null given, called in /home/user/public_html/src/XF/App.php on line 1910 src/XF/CookieConsent.php:298

Generated by: Unknown account Dec 21, 2022 at 8:55 AM

Stack trace

#0 src/XF/App.php(1910): XF\CookieConsent->addConsentedGroups(NULL)
#1 src/XF/App.php(346): XF\App->setupCookieConsent(Object(XF\CookieConsent))
#2 src/XF/Container.php(31): XF\App->XF\{closure}(Object(XF\Container))
#3 src/XF/App.php(2609): XF\Container->offsetGet('cookieConsent')
#4 src/XF/Http/Request.php(1338): XF\App->cookieConsent()
#5 src/XF/Pub/App.php(359): XF\Http\Request->populateFromSearch(Object(XF\Http\Response))
#6 src/XF/Pub/App.php(156): XF\Pub\App->onSessionCreation(Object(DBTech\Security\XF\Session\Session))
#7 src/XF/App.php(2479): XF\Pub\App->start(true)
#8 src/XF.php(524): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state

array(4) {
  ["url"] => string(330) "/misc/cookies?update=1&accept=1&t=1671591307%2C86eaa98e81e1badf8a7769b77ea04158&_xfRequestUri=%2Fthreads%2Fprajakta-dusane-18june-s.91818%2F&_xfWithData=1&_xfToken=1671591307%2C86eaa98e81e1badf8a7769b77ea04158&_xfResponseType=json"
  ["referrer"] => string(162) "/threads/s.91818/"
  ["_GET"] => array(7) {
    ["update"] => string(1) "1"
    ["accept"] => string(1) "1"
    ["t"] => string(43) "1671591307,86eaa98e81e1badf8a7769b77ea04158"
    ["_xfRequestUri"] => string(140) "/threads/s.91818/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1671591307,86eaa98e81e1badf8a7769b77ea04158"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}
 
This has nothing to do with DragonByte Security. DB Security just extends the Session, but as you can see from the error message you posted, not one DB Security file is mentioned in the actual execution path.
 
Hello @Nirjonadda,

We hope your ticket regarding DragonByte Security 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.
 
Hello @Nirjonadda,

As we have not heard back from you, your ticket regarding DragonByte Security has now been closed.

If your ticket has not been resolved, please feel free to start a new support ticket and link back to this ticket.

If you have time, please leave a review on XenForo.com's Resource Manager.

Thank you.


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

DragonByte Security

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