Mr Lucky
Well-known member
Thanks!It is blocked by AdBlock.
Thanks!It is blocked by AdBlock.
InvalidArgumentException: Container key 'samUserDevice' was not found src/XF/Container.php:43
Generated by: Mark Hancock Nov 14, 2019 at 2:52 PM
Stack trace
#0 src/addons/Siropu/AdsManager/Entity/Package.php(178): XF\Container->offsetGet('samUserDevice')
#1 src/addons/Siropu/AdsManager/Template/Ad.php(473): Siropu\AdsManager\Entity\Package->isCarousel(2)
#2 src/addons/Siropu/AdsManager/Template/Ad.php(274): Siropu\AdsManager\Template\Ad->prepareAdsForDisplay()
#3 src/addons/Siropu/AdsManager/Template/Ad.php(265): Siropu\AdsManager\Template\Ad->setAds()
#4 src/addons/Siropu/AdsManager/Listener.php(27): Siropu\AdsManager\Template\Ad->__construct(Object(XF\Pub\App), Object(XF\Mvc\Reply\View))
#5 [internal function]: Siropu\AdsManager\Listener::templaterGlobalData(Object(XF\Pub\App), Array, Object(XF\Mvc\Reply\View))
#6 src/XF/Extension.php(67): call_user_func_array(Array, Array)
#7 src/XF/App.php(2654): XF\Extension->fire('templater_globa...', Array, NULL)
#8 src/XF/App.php(1922): XF\App->fire('templater_globa...', Array)
#9 src/XF/App.php(1800): XF\App->getGlobalTemplateData(Object(XF\Mvc\Reply\View))
#10 src/XF/Pub/App.php(432): XF\App->preRender(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/Mvc/Dispatcher.php(395): XF\Pub\App->preRender(Object(XF\Mvc\Reply\View), 'html')
#12 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#13 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#14 src/XF.php(391): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}
Request state
array(4) {
["url"] => string(8) "/forums/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
You keep getting it after the upgrade or was during the upgrade? Are you using the carousel? If so, please take a look in the package and see if the carousel option "Enable carousel if device is" has the devices checked.I get this error
Try using the carousel with option "Seconds between rotations" set to 600.How do I set this up?
It is included in the core. ACP > Ads Manager > PackagesSo the Carousel is an extra add-on?
You cannot because those options run only once on page load.Can I use the display after, hide after feature in my existing Ad Manager?
You keep getting it after the upgrade or was during the upgrade? Are you using the carousel? If so, please take a look in the package and see if the carousel option "Enable carousel if device is" has the devices checked.
We use essential cookies to make this site work, and optional cookies to enhance your experience.