Fatal error: Uncaught exception 'Mpdf\MpdfException' with message 'Unable to set PDF file protection, CSPRNG Functions are not available. Use paragonie/random_compat polyfill or upgrade to PHP 7.' in /var/www/devel/gx/mpdf/vendor/mpdf/mpdf/src/Pdf/Protection/UniqidGenerator.php:11
Stack trace:
#0 /var/www/devel/gx/mpdf/vendor/mpdf/mpdf/src/ServiceFactory.php(90): Mpdf\Pdf\Protection\UniqidGenerator->__construct()
#1 /var/www/devel/gx/mpdf/vendor/mpdf/mpdf/src/Mpdf.php(1080): Mpdf\ServiceFactory->getServices(Object(Mpdf\Mpdf), Object(Psr\Log\NullLogger), Array, Object(Mpdf\Language\LanguageToFont), Object(Mpdf\Language\ScriptToLanguage), NULL, NULL, NULL, NULL)
#2 /var/www/devel/mp/konfigurator-cz/lib/configGenerator.inc.php(760): Mpdf\Mpdf->__construct(Array)
#3 /var/www/devel/mp/konfigurator-cz/getpdf.php(50): configGenerator->getPDFFile('I')
#4 {main}
thrown in /var/www/devel/gx/mpdf/vendor/mpdf/mpdf/src/Pdf/Protection/UniqidGenerator.php on line 11