• Welcome to XF2 Addons. You can buy my Premium membership for $35 per year, and this gives you access to download any or ALL of the 335 add-ons that I have developed for Xenforo 2.x. In addition, Premium members will get technical support. Once the Premium membership has expired you can continue to use the installed addons on your forum as long as you like.

double index.php in the forum title (xenforo 2)


Hello everyone,

I am under the cms xenforo2, since my migration from xf1 to xf2 I see that I have problems with the index.php
during message reports or when we receive a mail and want to go to a page that we give the link, ben that adds 2x index.php in the title
I give an example:

forum link/index.php/index.php?forums/questions-aids-and-searches.16/post-thread

Someone could enlighten me on a pretty weird problem and I can not find the causse.

Thank you in advance for your assistance


Historique des erreurs serveur

ErrorException: [E_NOTICE] Trying to get property of non-object src/XF/Pub/Controller/AbstractController.php:263

Généré par: fabrice34 20 Avril 2018 à 10:12

Trace de la pile

#0 src/XF/Pub/Controller/AbstractController.php(263): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/actumani/...', 263, Array)
#1 src/XF/Pub/Controller/AbstractController.php(24): XF\Pub\Controller\AbstractController->isDiscouraged()
#2 src/XF/Mvc/Controller.php(117): XF\Pub\Controller\AbstractController->preDispatchType('Update', Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Controller->preDispatch('Update', Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('Siropu\\Chat:Cha...', 'Update', 'json', Object(XF\Mvc\ParameterBag), 'siropuChat', Object(Siropu\Chat\Pub\Controller\Chat), NULL)
#5 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#7 src/XF.php(328): XF\App->run()
#8 index.php(13): XF::runApp('XF\\Pub\\App')
#9 {main}

Etat de la demande

array(4) {
["url"] => string(22) "/index.php?chat/update"
["referrer"] => string(26) "https://link forum"
["_GET"] => array(1) {
["chat/update"] => string(0) ""
["_POST"] => array(11) {
["channel"] => string(4) "room"
["room_id"] => string(1) "1"
["last_id"] => array(1) {
[1] => string(4) "5919"
["conv_id"] => string(1) "0"
["conv_only"] => string(1) "0"
["conv_last_active"] => string(10) "1524211722"
["is_chat_page"] => string(5) "false"
["_xfRequestUri"] => string(1) "/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"