XF 2.0 I have a permission problem when i want to change a permission

Roiarthur

Active member
ErrorException: [E_NOTICE] Undefined offset: -1 in src/XF/Permission/Builder.php at line 382

  1. XF::handlePhpError() in src/XF/Permission/Builder.php at line 382
  2. XF\Permission\Builder->pickPermissionPriorityValue() in src/XF/Permission/Builder.php at line 350
  3. XF\Permission\Builder->calculatePermissions() in src/XF/Permission/Builder.php at line 133
  4. XF\Permission\Builder->rebuildCombination() in src/XF/Service/UpdatePermissions.php at line 205
  5. XF\Service\UpdatePermissions->triggerCacheRebuild() in src/XF/Service/UpdatePermissions.php at line 117
  6. XF\Service\UpdatePermissions->updatePermissions() in src/XF/Admin/Controller/Permission.php at line 127
  7. XF\Admin\Controller\Permission->actionUserSave() in src/XF/Mvc/Dispatcher.php at line 249
  8. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 87
  9. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  10. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1891
  11. XF\App->run() in src/XF.php at line 328
  12. XF::runApp() in admin.php at line 13

What can i do to fix it please
Thanks
 
#0 src/XF/Permission/Builder.php(382): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home3/roiarthu...', 382, Array)
#1 src/XF/Permission/Builder.php(350): XF\Permission\Builder->pickPermissionPriorityValue(Array, 'flag')
#2 src/XF/Permission/TreeContentPermissions.php(111): XF\Permission\Builder->calculatePermissions(Array, Array, Array)
#3 src/XF/Permission/TreeContentPermissions.php(102): XF\Permission\TreeContentPermissions->buildForContent(77, Array, 11, Array)
#4 src/XF/Permission/TreeContentPermissions.php(118): XF\Permission\TreeContentPermissions->buildForChildrenOf(259, Array, 11, Array)
#5 src/XF/Permission/TreeContentPermissions.php(102): XF\Permission\TreeContentPermissions->buildForContent(259, Array, 11, Array)
#6 src/XF/Permission/TreeContentPermissions.php(118): XF\Permission\TreeContentPermissions->buildForChildrenOf(258, Array, 11, Array)
#7 src/XF/Permission/TreeContentPermissions.php(102): XF\Permission\TreeContentPermissions->buildForContent(258, Array, 11, Array)
#8 src/XF/Permission/TreeContentPermissions.php(40): XF\Permission\TreeContentPermissions->buildForChildrenOf(NULL, Array, 11, Array)
#9 src/XF/Permission/Builder.php(148): XF\Permission\TreeContentPermissions->rebuildCombination(Object(XF\Entity\PermissionCombination), Array)
#10 src/XF/Permission/Builder.php(140): XF\Permission\Builder->rebuildCombinationContent(Object(XF\Entity\PermissionCombination), Array)
#11 src/XF/Job/PermissionRebuild.php(58): XF\Permission\Builder->rebuildCombination(Object(XF\Entity\PermissionCombination))
#12 src/XF/Job/Atomic.php(38): XF\Job\PermissionRebuild->run(2.5232100486755)
#13 src/XF/Job/Manager.php(241): XF\Job\Atomic->run(8)
#14 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 8)
#15 src/XF/Job/Manager.php(138): XF\Job\Manager->runJobEntry(Array, 8)
#16 src/XF/Install/Controller/AbstractController.php(24): XF\Job\Manager->runUnique('xfInstallUpgrad...', 8)
#17 src/XF/Install/Controller/Upgrade.php(251): XF\Install\Controller\AbstractController->manualJobRunner('index.php?upgra...', 'index.php?upgra...')
#18 src/XF/Mvc/Dispatcher.php(249): XF\Install\Controller\Upgrade->actionRunJob(Object(XF\Mvc\ParameterBag))
#19 src/XF/Mvc/Dispatcher.php(87): XF\Mvc\Dispatcher->dispatchClass('XF:Upgrade', 'RunJob', 'html', Object(XF\Mvc\ParameterBag), NULL, Object(XF\Install\Controller\Upgrade), NULL)
#20 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#21 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#22 src/XF.php(328): XF\App->run()
#23 install/index.php(14): XF::runApp('XF\\Install\\App')
#24 {main}


_____________________________________________________________________________________________________________________________

array(4) {
["url"] => string(34) "/install/index.php?upgrade/run-job"
["referrer"] => string(69) "https://www.tutoriaux-excalibur.com/install/index.php?upgrade/run-job"
["_GET"] => array(1) {
["upgrade/run-job"] => string(0) ""
}
["_POST"] => array(3) {
["_xfRedirect"] => string(70) "https://www.tutoriaux-excalibur.com/install/index.php?upgrade/complete"
["_xfToken"] => string(8) "********"
["execute"] => string(1) "1"
}
}
 
ErrorException: [E_NOTICE] Undefined offset: -1 in src/XF/Permission/Builder.php at line 382

  1. XF::handlePhpError() in src/XF/Permission/Builder.php at line 382
  2. XF\Permission\Builder->pickPermissionPriorityValue() in src/XF/Permission/Builder.php at line 350
  3. XF\Permission\Builder->calculatePermissions() in src/XF/Permission/Builder.php at line 133
  4. XF\Permission\Builder->rebuildCombination() in src/XF/Service/UpdatePermissions.php at line 220
  5. XF\Service\UpdatePermissions->triggerCacheRebuild() in src/XF/Service/UpdatePermissions.php at line 117
  6. XF\Service\UpdatePermissions->updatePermissions() in src/XF/Admin/Controller/Permission.php at line 54
  7. XF\Admin\Controller\Permission->actionUserGroupSave() in src/XF/Mvc/Dispatcher.php at line 249
  8. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 87
  9. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  10. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1891
  11. XF\App->run() in src/XF.php at line 328
  12. XF::runApp() in admin.php at line 13
 
You solved my problem via ticket
I am new user of Xenforo and i try to understand how you works
And because i am french, it is a bit difficult to do.
You have a great product and an even better service
Thanks a lot
 
Back
Top Bottom