Fatal error: Uncaught Error: Call to a member function fetch_assoc() on integer in /home/kabxojkh/public_html/core/ActiveModel.php:298 Stack trace: #0 /home/kabxojkh/public_html/app/Controllers/StaticController.php(225): Core\ActiveModel->count() #1 [internal function]: App\Controllers\StaticController->categoriesShow() #2 /home/kabxojkh/public_html/core/BaseController.php(69): call_user_func(Array) #3 /home/kabxojkh/public_html/index.php(24): Core\BaseController->action('categoriesShow') #4 {main} thrown in /home/kabxojkh/public_html/core/ActiveModel.php on line 298