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/pillars.controller.php(15): app\controllers\frontendController->prepare(Array)
#4 /home/phoneinfo/public_html/app/controllers/controller.php(10): app\controllers\pillarsController->prepare(Array)
#5 /home/phoneinfo/public_html/app/core/router.php(168): app\controllers\Controller->__construct(Array)
#6 /home/phoneinfo/public_html/app/core/router.php(21): app\core\router->defineController()
#7 /home/phoneinfo/public_html/index.php(23): app in /home/phoneinfo/public_html/app/core/connect.php on line 41