- TypeError: array_replace(): Argument #2 must be of type array, null given
- src/addons/Siropu/RecentPosts/Service/RecentPosts.php:34
- Generated by: Unknown account
- May 18, 2026 at 10:42 PM
Stack trace
#0 src/addons/Siropu/RecentPosts/Service/RecentPosts.php(34): array_replace(Array, NULL)
#1 src/XF/Container.php(292): Siropu\RecentPosts\Service\RecentPosts->__construct(Object(XF\Pub\App), NULL, '(select 198766*...')
#2 src/XF/App.php(1967): XF\Container->createObject('Siropu\\RecentPo...', Array)
#3 src/XF/Container.php(250): XF\App->{closure:XF\App::initialize():1960}('Siropu\\RecentPo...', Array, Object(XF\Container))
#4 src/XF/App.php(3548): XF\Container->create('service', 'Siropu\\RecentPo...', Array)
#5 src/XF/Mvc/Controller.php(890): XF\App->service('Siropu\\RecentPo...', Array, '(select 198766*...')
#6 src/addons/Siropu/RecentPosts/Pub/Controller/RecentPosts.php(21): XF\Mvc\Controller->service('Siropu\\RecentPo...', Array, '(select 198766*...')
#7 src/XF/Mvc/Dispatcher.php(362): Siropu\RecentPosts\Pub\Controller\RecentPosts->actionIndex(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('Siropu\\RecentPo...', 'Index', Object(XF\Mvc\RouteMatch), Object(Siropu\RecentPosts\Pub\Controller\RecentPosts), NULL)
#9 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Siropu\RecentPosts\Pub\Controller\RecentPosts), NULL)
#10 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#12 src/XF.php(814): XF\App->run()
#13 index.php(23): XF::runApp('XF\\Pub\\App')
#14 {main}
Request state
array(4) {
["url"] => string(185) "/recent-posts/?_xfRequestUri=/pages/testing/%3F_xfClientLoadTime=07:10:00&_xfResponseType=json&_xfWithData=1&embed=undefined&page=2&widgetKey=(select%20198766*667891%20from%20DUAL)"
["referrer"] => bool(false)
["_GET"] => array(7) {
["/recent-posts/"] => string(0) ""
["_xfRequestUri"] => string(47) "/pages/testing/?_xfClientLoadTime=07:10:00"
["_xfResponseType"] => string(4) "json"
["_xfWithData"] => string(1) "1"
["embed"] => string(9) "undefined"
["page"] => string(1) "2"
["widgetKey"] => string(32) "(select 198766*667891 from DUAL)"
}
["_POST"] => array(0) {
}
}