Open cappuccinonet opened 1 year ago
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') { ...
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
In Joomla 4.3.2 with com_api 3.0.2 I do get the following error