Warning: Declaration of Mc_Db::connect($config, $name = NULL) should be compatible with Mc_Db_Mysql::connect($name = NULL) in /library/maCMS/Db.php on line 1

Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /modules/static_pages/models/StaticPage.php:4 Stack trace: #0 /modules/index/index.php(2): StaticPage::getItemByUrl('index') #1 /library/maCMS/Core.php(27): index_index->indexAction() #2 /library/maCMS/Core.php(14): Mc_Core->loadAction('index', 'index', 'index') #3 /index.php(5): Mc_Core->run() #4 {main} thrown in /modules/static_pages/models/StaticPage.php on line 4