Fatal error: Uncaught TypeError: Argument 1 passed to MyLib\Model\PostModel::countByCategory() must be an instance of MyLib\Database\WhereBuilder, array given, called in /home/kiara2/kiara-estate.com/public_html/wp-content/themes/indexjapan/category/category-default.php on line 31 and defined in /home/kiara2/kiara-estate.com/public_html/wp-content/themes/indexjapan/library/Model/PostModel.php:201 Stack trace: #0 /home/kiara2/kiara-estate.com/public_html/wp-content/themes/indexjapan/category/category-default.php(31): MyLib\Model\PostModel->countByCategory(Array) #1 /home/kiara2/kiara-estate.com/public_html/wp-content/themes/indexjapan/category.php(3): include('/home/kiara2/ki...') #2 /home/kiara2/kiara-estate.com/public_html/wp-includes/template-loader.php(77): include('/home/kiara2/ki...') #3 /home/kiara2/kiara-estate.com/public_html/wp-blog-header.php(19): require_once('/home/kiara2/ki...') #4 /home/kiara2/kiara-estate.com/public_html/index.php(17): require('/home/kiara2/ki...') #5 {main} thrown in /home/kiara2/kiara-estate.com/public_html/wp-content/themes/indexjapan/library/Model/PostModel.php on line 201