Fatal error: Class 'Custom' contains 1 abstract method and must therefore be declared abstract or
Quote:
confused. Line 80 is last line of file. This happens when I initiate the class $boom = new CustomClass(); I got no paramaters in my constructor. it's more of a helper. |
Mysidia's Model class is abstract, so any classes that inherit it need to define its methods. The error is saying you do not have a save() method in customclass.php.
The class_model.php's save method: PHP Code:
PHP Code:
|
Quote:
|
All times are GMT -5. The time now is 07:46 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.