Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/phoneinfo/public_html/app/core/connect.php:41
Stack trace:
#0 /home/phoneinfo/public_html/app/models/countries.model.php(31): app\core\connect->query('SELECT * FROM `...', Array)
#1 /home/phoneinfo/public_html/app/models/countries.model.php(79): app\models\countriesModel->where('`country_code` ...', Array, 'LIMIT 30', '*', 'ORDER BY RAND()')
#2 /home/phoneinfo/public_html/app/controllers/frontend.controller.php(12): app\models\countriesModel->menaCountries(true)
#3 /home/phoneinfo/public_html/app/controllers/index.controller.php(10): app\controllers\frontendController->prepare(NULL)
#4 /home/phoneinfo/public_html/app/controllers/controller.php(10): app\controllers\indexController->prepare(NULL)
#5 /home/phoneinfo/public_html/app/core/router.php(84): app\controllers\Controller->__construct()
#6 /home/phoneinfo/public_html/app/core/router.php(21): app\core\router->defineController()
#7 /home/phoneinfo/public_html/index.php(23): app\core\router in /home/phoneinfo/public_html/app/core/connect.php on line 41