Fatal error: Uncaught Error: Class "finfo" not found in /var/www/vhosts/legal-system.kz/httpdocs/core/vendor/league/mime-type-detection/src/FinfoMimeTypeDetector.php:48
Stack trace:
#0 /var/www/vhosts/legal-system.kz/httpdocs/core/vendor/league/flysystem/src/Local/LocalFilesystemAdapter.php(96): League\MimeTypeDetection\FinfoMimeTypeDetector->__construct()
#1 /var/www/vhosts/legal-system.kz/httpdocs/core/src/Revolution/Sources/modFileMediaSource.php(30): League\Flysystem\Local\LocalFilesystemAdapter->__construct()
#2 /var/www/vhosts/legal-system.kz/httpdocs/core/src/Revolution/modElement.php(587): MODX\Revolution\Sources\modFileMediaSource->initialize()
#3 /var/www/vhosts/legal-system.kz/httpdocs/core/src/Revolution/modElement.php(638): MODX\Revolution\modElement->getSourceFile()
#4 /var/www/vhosts/legal-system.kz/httpdocs/core/src/Revolution/modElement.php(530): MODX\Revolution\modElement->getFileContent()
#5 /var/www/vhosts/legal-system.kz/httpdocs/core/src/Revolution/modElement.php(378): MODX\Revolution\modElement->getContent()
#6 /var/www/vhosts/legal-system.kz/httpdocs/core/src/Revolution/modTemplate.php(137): MODX\Revolution\modElement->process()
#7 /var/www/vhosts/legal-system.kz/httpdocs/core/src/Revolution/modResource.php(485): MODX\Revolution\modTemplate->process()
#8 /var/www/vhosts/legal-system.kz/httpdocs/core/src/Revolution/modResource.php(465): MODX\Revolution\modResource->process()
#9 /var/www/vhosts/legal-system.kz/httpdocs/core/src/Revolution/modResponse.php(72): MODX\Revolution\modResource->prepare()
#10 /var/www/vhosts/legal-system.kz/httpdocs/core/src/Revolution/modRequest.php(154): MODX\Revolution\modResponse->outputContent()
#11 /var/www/vhosts/legal-system.kz/httpdocs/core/src/Revolution/modRequest.php(138): MODX\Revolution\modRequest->prepareResponse()
#12 /var/www/vhosts/legal-system.kz/httpdocs/core/src/Revolution/modX.php(1495): MODX\Revolution\modRequest->handleRequest()
#13 /var/www/vhosts/legal-system.kz/httpdocs/index.php(63): MODX\Revolution\modX->handleRequest()
#14 {main}
thrown in /var/www/vhosts/legal-system.kz/httpdocs/core/vendor/league/mime-type-detection/src/FinfoMimeTypeDetector.php on line 48