FatalError

HTTP 500 Whoops, looks like something went wrong.

Error: Class HopamModelHopam contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Joomla\CMS\MVC\Model\ItemModelInterface::getItem)

Exception

Symfony\Component\ErrorHandler\Error\ FatalError

Show exception properties
Symfony\Component\ErrorHandler\Error\FatalError {#747
  -error: array:4 [
    "type" => 1
    "message" => "Class HopamModelHopam contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Joomla\CMS\MVC\Model\ItemModelInterface::getItem)"
    "file" => "/home2/viet57230575/public_html/components/com_hopam/models/hopam.php"
    "line" => 22
  ]
}
  1. /**
  2.  * Hopam model.
  3.  *
  4.  * @since  1.6
  5.  */
  6. class HopamModelHopam extends JModelItem
  7. {
  8.     /**
  9.      * Method to auto-populate the model state.
  10.      *
  11.      * Note. Calling getState in this method will result in recursion.

Stack Trace

FatalError
Symfony\Component\ErrorHandler\Error\FatalError:
Error: Class HopamModelHopam contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Joomla\CMS\MVC\Model\ItemModelInterface::getItem)

  at /home2/viet57230575/public_html/components/com_hopam/models/hopam.php:22