Not a bug Undefined array key "cookieConsent" src/XF/CookieConsent.php:56

BoostN

Well-known member
Affected version
v2.2.15
ErrorException: [E_WARNING] Undefined array key "cookieConsent" src/XF/CookieConsent.php:56
Generated by: Unknown account Feb 22, 2024 at 4:33 PM

Code:
Stack trace
#0 src/XF/CookieConsent.php(56): XF::handlePhpError(2, '[E_WARNING] Und...', '/home/nginx/dom...', 56)
#1 src/XF/CookieConsent.php(269): XF\CookieConsent->getMode()
#2 src/XF/CookieConsent.php(357): XF\CookieConsent->getConsentedGroups()
#3 src/XF/CookieConsent.php(337): XF\CookieConsent->isGroupConsented('optional')
#4 src/XF/Http/Request.php(1426): XF\CookieConsent->isCookieConsented('from_search')
#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(XF\Session\Session))
#7 src/XF/App.php(2483): XF\Pub\App->start(true)
#8 src/XF.php(524): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

I noticed a few more threads around this, but everyone said it went away. My upgrade finished a few hours ago and it's still going on. I'm getting 20-50 per hour.
 
Back
Top Bottom