Fatal error: Uncaught exception Error with message Call to undefined function Contao\Database\mysql_connect() thrown in system/modules/core/library/Contao/Database/Mysql.php on line 47
#0 system/modules/core/library/Contao/Database.php(81): Contao\Database\Mysql->connect()
#1 system/modules/core/library/Contao/Database.php(165): Contao\Database->__construct()
#2 [internal function]: Contao\Database::getInstance()
#3 system/modules/core/library/Contao/System.php(140): call_user_func()
#4 system/modules/core/library/Contao/User.php(158): Contao\System->import()
#5 system/modules/core/classes/FrontendUser.php(62): Contao\User->__construct()
#6 system/modules/core/library/Contao/User.php(220): Contao\FrontendUser->__construct()
#7 [internal function]: Contao\User::getInstance()
#8 composer/vendor/contao-community-alliance/dependency-container/src/DependencyInjection/Container/ContainerInitializer.php(69): ReflectionMethod->invoke()
#9 composer/vendor/contao-community-alliance/dependency-container/src/DependencyInjection/Container/ContainerInitializer.php(157): DependencyInjection\Container\ContainerInitializer->getInstanceOf()
#10 [internal function]: DependencyInjection\Container\ContainerInitializer->DependencyInjection\Container\{closure}()
#11 composer/vendor/contao-community-alliance/dependency-container/src/DependencyInjection/Container/ContainerInitializer.php(263): call_user_func()
#12 composer/vendor/pimple/pimple/lib/Pimple.php(126): DependencyInjection\Container\ContainerInitializer->DependencyInjection\Container\{closure}()
#13 composer/vendor/pimple/pimple/lib/Pimple.php(83): Pimple::{closure}()
#14 composer/vendor/contao-community-alliance/dependency-container/src/DependencyInjection/Container/ContainerInitializer.php(206): Pimple->offsetGet()
#15 composer/vendor/pimple/pimple/lib/Pimple.php(126): DependencyInjection\Container\ContainerInitializer->DependencyInjection\Container\{closure}()
#16 composer/vendor/pimple/pimple/lib/Pimple.php(83): Pimple::{closure}()
#17 system/modules/metamodels/config/services.php(69): Pimple->offsetGet()
#18 composer/vendor/pimple/pimple/lib/Pimple.php(126): DependencyInjection\Container\ContainerInitializer->{closure}()
#19 composer/vendor/pimple/pimple/lib/Pimple.php(83): Pimple::{closure}()
#20 system/modules/metamodels/config/services.php(84): Pimple->offsetGet()
#21 composer/vendor/pimple/pimple/lib/Pimple.php(126): DependencyInjection\Container\ContainerInitializer->{closure}()
#22 composer/vendor/pimple/pimple/lib/Pimple.php(83): Pimple::{closure}()
#23 composer/vendor/metamodels/core/src/MetaModels/Helper/SubSystemBoot.php(93): Pimple->offsetGet()
#24 system/cache/config/config.php(1331): MetaModels\Helper\SubSystemBoot->boot()
#25 [internal function]: Contao\Config->{closure}()
#26 composer/vendor/contao-community-alliance/dependency-container/src/DependencyInjection/Container/ContainerInitializer.php(116): call_user_func()
#27 composer/vendor/contao-community-alliance/dependency-container/src/DependencyInjection/Container/ContainerInitializer.php(449): DependencyInjection\Container\ContainerInitializer->callHooks()
#28 system/initialize.php(243): DependencyInjection\Container\ContainerInitializer->init()
#29 index.php(16): require('/var/www/vhosts...')
#30 {main}