J4 Issue ?
avatar by-lufog
by-lufog
3 Sep 2017

Steps to reproduce the issue

In the settings of the user manager, disable the display of site settings for the user.

Expected result

The user profile page is displayed normally.

Actual result

If difficulties persist, please contact the System Administrator of this site and report the error below.
0 Argument 2 passed to JHtml::register() must be callable, array given, called in W:\domains\site.domain\components\com_users\tmpl\profile\default_custom.php on line 13

System information (as much as possible)

Setting Value
PHP Built On Windows NT DESKTOP-3288EOT 10.0 build 15063 (Windows 10) i586
Database Version 5.7.19
Database Collation utf8_general_ci
Database Connection Collation utf8_general_ci
PHP Version 7.1.7
Web Server Apache
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 4.0.0-dev Development [ Amani ] 31-March-2017 23:59 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
avatar DebuggeR94 DebuggeR94 - open - 3 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - change - 3 Sep 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Sep 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Sep 2017
Category com_users
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Sep 2017
Status New Confirmed
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Sep 2017

Issue confirmed.

It also happen if Frontend User Parameters is set on Show:
bildschirmfoto 2017-09-03 um 13 03 36
bildschirmfoto 2017-09-03 um 13 04 32

avatar by-lufog
by-lufog - comment - 3 Sep 2017

@franz-wohlkoenig No, in your case it's a mistake in
"plugins/system/languagefilter/languagefilter.php" in line 136
Replaсe:
$router->attachBuildRule(array($this, 'buildRule'), JRouter::PROCESS_DURING);
On:
$router->attachBuildRule(array($this, 'buildRule'), JRouter::PROCESS_BEFORE);

In your URL, the tag of the language, is in the wrong place,

avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Nov 2017
Status Confirmed Discussion
avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar Quy
Quy - comment - 4 Jun 2018

@DebuggeR94 Cannot replicate. Please test with the latest alpha.

avatar brianteeman
brianteeman - comment - 4 Jun 2018

i can confirm this exact bug. Set Frontend User Parameters to hide in the com_user options
then on the front end login and try to edit your profile and you get the error

avatar Quy
Quy - comment - 4 Jun 2018

I changed the setting here Global Configuration > Users > Frontend User Parameters. Logged in on the front end, and edited/saved my profile successfully with show/hide of this setting.

avatar brianteeman
brianteeman - comment - 4 Jun 2018

profile

avatar Quy
Quy - comment - 4 Jun 2018

Confirmed. I had the menu item to edit user profile vs. user profile. Thanks!

avatar SharkyKZ
SharkyKZ - comment - 22 May 2019

Can't reproduce this on current nightly. The file has been modified and the failing code is no longer there.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 May 2019

closed for Reason stated above. Issue can always reopened.

avatar franz-wohlkoenig franz-wohlkoenig - close - 22 May 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 22 May 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-05-22 16:07:58
Closed_By franz-wohlkoenig
avatar brianteeman
brianteeman - comment - 22 May 2019

i can confirm that this is no longer a valid bug and can be closed

Add a Comment

Login with GitHub to post a comment