I have a custom component that I've inherited. I've upgraded the site to Joomla 4 with no problems but when going to the frontend, am getting an error:
Fatal error: Class CloudCardModelCard contains 1 abstract method
and must therefore be declared abstract or
implement the remaining methods
(Joomla\CMS\MVC\Model\ItemModelInterface::getItem) in
public_html/components/com_cloudcard/models/card.php on line 3
The file referenced above is as follows:
<?php defined('_JEXEC') or die;
class CloudCardModelCard extends JModelItem {
}
Any ideas what I can do to get it working?