( ! ) Fatal error: Uncaught Error: Call to undefined method App\Models\Testimonial::countActive() in /home/atimakco/public_html/app/Controllers/TestimonialController.php on line 26
( ! ) Error: Call to undefined method App\Models\Testimonial::countActive() in /home/atimakco/public_html/app/Controllers/TestimonialController.php on line 26
Call Stack
#TimeMemoryFunctionLocation
10.0001773352{main}( ).../index.php:0
20.00321307632App\Core\Router->dispatch( ).../index.php:381
30.00341308016App\Core\Router->callHandler( $handler = 'TestimonialController@index', $params = [] ).../Router.php:108
40.00761312728call_user_func_array:{/home/atimakco/public_html/app/Core/Router.php:160}( $callback = [0 => class App\Controllers\TestimonialController { protected App\Core\Database $db = class App\Core\Database { ... }; protected App\Core\SessionManager $session = class App\Core\SessionManager { ... }; protected App\Core\Security $security = class App\Core\Security { ... }; protected App\Core\Mailer $mailer = class App\Core\Mailer { ... }; private App\Models\Testimonial $testimonialModel = class App\Models\Testimonial { ... }; private App\Models\Setting $settingModel = class App\Models\Setting { ... } }, 1 => 'index'], $args = [] ).../Router.php:160
50.00771312912App\Controllers\TestimonialController->index( ).../Router.php:160