Page 1 of 1

WebAuthn - An Error has occured when entering User details

Posted: Wed Jun 03, 2020 12:56 am
by ShibumiDesign
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

Re: An Error has occured when entering User details

Posted: Wed Jun 03, 2020 1:01 am
by ShibumiDesign
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.

Re: An Error has occured when entering User details

Posted: Wed Jun 03, 2020 2:17 am
by toivo
Which version of Joomla 4 are you using to test the W3C Passwordless Web Authentication (WebAuthn)?

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

Posted: Wed Jun 03, 2020 2:40 am
by ShibumiDesign
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

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

Posted: Wed Jun 03, 2020 2:53 am
by toivo
That is good to hear. It could have been something to do with caching.

BTW, not yet beta2 but beta2-dev from Nightly Builds.

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

Posted: Wed Jun 03, 2020 2:57 am
by ShibumiDesign
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.

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

Posted: Wed Jun 03, 2020 3:10 am
by toivo
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

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

Posted: Wed Jun 03, 2020 4:17 am
by ShibumiDesign
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

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

Posted: Wed Jun 03, 2020 4:30 am
by sozzled
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. :)