WebAuthn - An Error has occured when entering User details Topic is solved

Be informed that this forum is not an official support forum for Joomla! 4.0. Any issues regarding Joomla! 4.0 must be reported at https://issues.joomla.org/.

Joomla 4.0 is still in Beta stage. This forum should be used for sharing information about Joomla! 4.0.

Moderator: ooffick

Forum rules
Post Reply
User avatar
ShibumiDesign
Joomla! Intern
Joomla! Intern
Posts: 78
Joined: Tue Jan 17, 2012 2:56 pm
Location: Ottawa, ON, Canada
Contact:

WebAuthn - An Error has occured when entering User details

Post by ShibumiDesign » Wed Jun 03, 2020 12:56 am

When clicking on a user in the manage users, the details load, but layout is broken, and get this error:

Argument 1 passed to Webauthn\PublicKeyCredentialRpEntity::__construct() must be of the type string, null given, called in /mnt/data/vhosts/casite-1251499.cloudaccess.net/httpdocs/plugins/system/webauthn/src/Helper/CredentialsCreation.php on line 92
Last edited by toivo on Wed Jun 03, 2020 2:23 am, edited 1 time in total.
Reason: mod note: updated subject

User avatar
ShibumiDesign
Joomla! Intern
Joomla! Intern
Posts: 78
Joined: Tue Jan 17, 2012 2:56 pm
Location: Ottawa, ON, Canada
Contact:

Re: An Error has occured when entering User details

Post by ShibumiDesign » Wed Jun 03, 2020 1:01 am

I should add that this is when clicking on the Users button in the Site Module in the dashboard view... clicking on the Users dropdown menu in the upper right, and selecting Edit Account loads properly.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 12793
Joined: Thu Feb 15, 2007 5:48 am
Location: Zagreb, Croatia

Re: An Error has occured when entering User details

Post by toivo » Wed Jun 03, 2020 2:17 am

Which version of Joomla 4 are you using to test the W3C Passwordless Web Authentication (WebAuthn)?
Toivo Talikka, Global Moderator

User avatar
ShibumiDesign
Joomla! Intern
Joomla! Intern
Posts: 78
Joined: Tue Jan 17, 2012 2:56 pm
Location: Ottawa, ON, Canada
Contact:

Re: WebAuthn - An Error has occured when entering User details

Post by ShibumiDesign » Wed Jun 03, 2020 2:40 am

4.0.0 beta2 - it's weird, but it seems to be working now... think it was a css issue loading the page the first time from the dashboard Users button

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 12793
Joined: Thu Feb 15, 2007 5:48 am
Location: Zagreb, Croatia

Re: WebAuthn - An Error has occured when entering User details

Post by toivo » Wed Jun 03, 2020 2:53 am

That is good to hear. It could have been something to do with caching.

BTW, not yet beta2 but beta2-dev from Nightly Builds.
Toivo Talikka, Global Moderator

User avatar
ShibumiDesign
Joomla! Intern
Joomla! Intern
Posts: 78
Joined: Tue Jan 17, 2012 2:56 pm
Location: Ottawa, ON, Canada
Contact:

Re: WebAuthn - An Error has occured when entering User details

Post by ShibumiDesign » Wed Jun 03, 2020 2:57 am

Well, now I'm getting: An error has occurred.
0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()

after installing RokCommon, RokSprocket and enabling the RokSprocket plugin and I am stuck on that warning page and can't access anything else :( The Return to Dashboard button does nothing. Testing on the Cloud Access.net free hosting.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 12793
Joined: Thu Feb 15, 2007 5:48 am
Location: Zagreb, Croatia

Re: WebAuthn - An Error has occured when entering User details

Post by toivo » Wed Jun 03, 2020 3:10 am

ShibumiDesign wrote:
Wed Jun 03, 2020 2:57 am
Well, now I'm getting: An error has occurred.
0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()

after installing RokCommon, RokSprocket and enabling the RokSprocket plugin
Ok, so one of those extensions, most likely the plugin, is not playing nice with Joomla 4 Beta2-dev.

Suggest that the plugin is disabled by editing the extensions table from the cPanel provided by the host.

The plugin should be updated because the function isAdmin() is no longer available in Joomla 4. Ref. Potential backward compatibility issues in Joomla 4
Toivo Talikka, Global Moderator

User avatar
ShibumiDesign
Joomla! Intern
Joomla! Intern
Posts: 78
Joined: Tue Jan 17, 2012 2:56 pm
Location: Ottawa, ON, Canada
Contact:

Re: WebAuthn - An Error has occured when entering User details

Post by ShibumiDesign » Wed Jun 03, 2020 4:17 am

I disabled the RokCommon and RokSprocket plugins in the extensions table and that got rid of the error and gave me access again... I think RocketTheme is trying to get all of their extensions and templates Joomla 4 compatible, I guess just not there yet

User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 9738
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: WebAuthn - An Error has occured when entering User details

Post by sozzled » Wed Jun 03, 2020 4:30 am

toivo wrote:
Wed Jun 03, 2020 3:10 am
... the function isAdmin() is no longer available in Joomla 4. Ref. Potential backward compatibility issues in Joomla 4
Thank you very much for this information, @toivo. I have a couple of [unrelated] extensions that I built using the deprecated method. :)
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)


Post Reply

Return to “Joomla! 4 Related”