Solved 📲 Error: Call to undefined method XF\Mvc\Reply\Reroute::getParams()

This thread has been added to the roadmap.

Joined
Dec 30, 2018
Messages
45
Likes
17
Location
France
Website
sytrycommunity.fr
#1
Board URL
https://sytrycommunity.fr/
Hello,

In my ACP I have the following error :
  • Error: Call to undefined method XF\Mvc\Reply\Reroute::getParams()
  • src/addons/Appify/Service/Api.php:22
Code :
Code:
#0 src/addons/Appify/Listener.php(141): Appify\Service\Api->parseReplyView(Object(XF\Mvc\Reply\Reroute))
#1 [internal function]: Appify\Listener::addMobileVariable(Object(XF\Pub\Controller\Index), 'Index', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\Reroute))
#2 src/XF/Extension.php(35): call_user_func_array(Array, Array)
#3 src/XF/App.php(2395): XF\Extension->fire('controller_post...', Array, 'XF\\Pub\\Controll...')
#4 src/XF/Mvc/Controller.php(280): XF\App->fire('controller_post...', Array, 'XF\\Pub\\Controll...')
#5 src/XF/Mvc/Dispatcher.php(271): XF\Mvc\Controller->postDispatch('Index', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\Reroute))
#6 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Index', 'Index', 'html', Object(XF\Mvc\ParameterBag), '', Object(XF\Pub\Controller\Index), NULL)
#7 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(1934): XF\Mvc\Dispatcher->run()
#9 src/XF.php(333): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}
State :
Code:
array(4) {
  ["url"] => string(167) "/index.php?whats-new/posts/?skip=1&_xfToken=1551725219,6b2ddb1cd161523645d053d300febb1e&api=appify3&pushToken=ExponentPushToken%5BUMU0kYFd8HD7fj5e-wT2LK%5D&appify=true"
  ["referrer"] => bool(false)
  ["_GET"] => array(5) {
    ["whats-new/posts/?skip"] => string(1) "1"
    ["_xfToken"] => string(43) "1551725219,6b2ddb1cd161523645d053d300febb1e"
    ["api"] => string(7) "appify3"
    ["pushToken"] => string(41) "ExponentPushToken[UMU0kYFd8HD7fj5e-wT2LK]"
    ["appify"] => string(4) "true"
  }
  ["_POST"] => array(0) {
  }
}
XF 2.0.12 & Appify 10.25.00

Regards, SyTry
 

JB

Administrator
Staff member
Joined
Feb 17, 2018
Messages
249
Likes
105
#3
Hello @SyTry,

I tried to fix this bug in the 10.26.00 update.

Once you update your app, don't hesitate to tell me if this problem persist.

Best regards,
Jean-Baptiste