J4 Issue ?
avatar brianteeman
brianteeman
2 Jul 2019

Reproduce

From the users menu select either users or groups
Then select the permissions for any user/group
You should now have a table of the permissions
From the filter options button chose any component

Expected

Table of the permissions for that component

Actual

0 Cannot use object of type stdClass as array

Call stack

# | Function | Location
1 | () | JROOT\administrator\components\com_users\Helper\UsersHelperDebug.php:91
2 | Joomla\Component\Users\Administrator\Helper\UsersHelperDebug::getDebugActions() | JROOT\administrator\components\com_users\Model\DebuguserModel.php:65
3 | Joomla\Component\Users\Administrator\Model\DebuguserModel->getDebugActions() | JROOT\libraries\src\MVC\View\AbstractView.php:146
4 | Joomla\CMS\MVC\View\AbstractView->get() | JROOT\administrator\components\com_users\View\Debuguser\HtmlView.php:98
5 | Joomla\Component\Users\Administrator\View\Debuguser\HtmlView->display() | JROOT\libraries\src\MVC\Controller\BaseController.php:699
6 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT\administrator\components\com_users\Controller\DisplayController.php:120
7 | Joomla\Component\Users\Administrator\Controller\DisplayController->display() | JROOT\libraries\src\MVC\Controller\BaseController.php:737
8 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT\libraries\src\Dispatcher\ComponentDispatcher.php:146
9 | Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() | JROOT\libraries\src\Component\ComponentHelper.php:383
10 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT\libraries\src\Application\AdministratorApplication.php:116
11 | Joomla\CMS\Application\AdministratorApplication->dispatch() | JROOT\libraries\src\Application\AdministratorApplication.php:159
12 | Joomla\CMS\Application\AdministratorApplication->doExecute() | JROOT\libraries\src\Application\CMSApplication.php:241
13 | Joomla\CMS\Application\CMSApplication->execute() | JROOT\administrator\includes\app.php:63
14 | require_once() | JROOT\administrator\index.php:36

I have traced that error back to #22834 by @chmst
Sorry but I don't know the solution espec as I cant replicate the bug that #22834 was fixing

avatar brianteeman brianteeman - open - 2 Jul 2019
avatar joomla-cms-bot joomla-cms-bot - change - 2 Jul 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Jul 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Jul 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 2 Jul 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Jul 2019
Status New Discussion
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Jul 2019

Closed as having Pull Request #25402

avatar richard67
richard67 - comment - 2 Jul 2019

@franz-wohlkoenig Not really closed up to now.

avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Jul 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-07-02 12:20:35
Closed_By franz-wohlkoenig
avatar franz-wohlkoenig franz-wohlkoenig - close - 2 Jul 2019

Add a Comment

Login with GitHub to post a comment