Fatal error: Class 'JModel' not found

Fatal error: Class 'JModel' not found in /mod_weblinks/helper.php on line 14

Navigate to modules/mod_weblinks/helper.php
Edit the helper.php file and insert the following code at the top of the code. I preferred to put it after the comments.

jimport('joomla.application.component.model');

Scroll to Top
Ads: