Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot hide or remove API User #152

Open
cappuccinonet opened this issue Jun 18, 2023 · 1 comment
Open

Cannot hide or remove API User #152

cappuccinonet opened this issue Jun 18, 2023 · 1 comment

Comments

@cappuccinonet
Copy link

cappuccinonet commented Jun 18, 2023

In Joomla 4.3.2 with com_api 3.0.2 I do get the following error

Compile Error: Declaration of ApiControllerKeys::getModel($name = 'key', $prefix = 'ApiModel') must be compatible with Joomla\CMS\MVC\Controller\BaseController::getModel($name = '', $prefix = '', $config = [])
in [/home/www/studentsforfuture-hamburg.de/administrator/components/com_api/controllers/keys.php ](https://studentsforfuture-hamburg.de/administrator/index.php?option=com_api&view=keys)(line 33)
 public function getModel($name = 'key', $prefix = 'ApiModel') { ...
@nunomsh
Copy link

nunomsh commented Oct 3, 2024

Edit the function add the additional param required
public function getModel($name = 'key', $prefix = 'ApiModel', $config = [])

file administrator/components/com_api/controllers/keys.php line 33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants