Support

Admin Tools

#28733 Cannot create new users in Administrator area: Call to a member function getType() on null: Access Denied

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Thursday, 14 December 2017 17:17 CST

MelanieB
Hi,

I am no longer able to add new users via my Joomla backend administrator area. I get the following error:

Error displaying the error page: Call to a member function getType() on null: Access Denied

I am not sure if I am barking up the wrong tree here (apologies if it isn't an admin tools error) but after searching for potential fixes I was directed here. I found a similar answer in your support which suggested to re-install FOF. SO I downloaded it and installed it and still the error occurs.

Is this an Admin tools error? If yes, would you know how I fix it?

Kind regards

Mel

tampe125
Akeeba Staff
Hello,

first of all, please take a look at the Configure WAF page: in the tab Joomla's Feature Hardening Options is the option Disable editing backend users' properties set to Yes?
If not, it means that the problem is not caused by Admin Tools.

If set to Yes, this means that Admin Tools is blocking you to create any user with high privilege, thus there's something not working with your installation.
I'd suggest you to install Admin Tools twice in a row and try again: you should receive a 403 error (but not the same error as before). If you really want to edit your user, you should set the option Disable editing backend users' properties to No.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

MelanieB
Hi Davide,

thank you so much - that was it. I didn't realise I had set that to yes! In fact I don't remember ever going in to those settings.

Kind regards

Mel

tampe125
Akeeba Staff
Anyway, did you fix the fatal error?
Otherwise it's an hint there's something wrong with your site that could cause issues later.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

MelanieB
Hi David,

yes, turning off the bit you said made the error go away :O) Thank god for Google as would never in a million years thought it would be a setting in Admin Tools - I thought my site was corrupted.

Mel

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!