500 internal error

Your software
My Mautic version is: 5.1
My PHP version is: 8.1
My Database type and version is:

Your problem
My problem is: 500 internal error page showing with fresh install on dashboard landing page

These errors are showing in the log:
[2024-08-04T08:49:36.776653+00:00] mautic.ERROR: PHP Error: Maximum execution time of 120 seconds exceeded - in file C:\wamp64\www\mautic1\mautic\vendor\symfony\validator\Mapping\Loader\FileLoader.php - at line 37 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:14496}

[2024-08-04T08:49:36.790833+00:00] mautic.ERROR: Symfony\Component\ErrorHandler\Error\FatalError: Error: Maximum execution time of 120 seconds exceeded - in file C:\wamp64\www\mautic1\mautic\vendor\symfony\validator\Mapping\Loader\FileLoader.php - at line 37 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:14496}

[2024-08-04T08:49:36.915486+00:00] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\FatalError: “Error: Maximum execution time of 120 seconds exceeded” at C:\wamp64\www\mautic1\mautic\vendor\symfony\validator\Mapping\Loader\FileLoader.php line 37 {“exception”:“[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Error: Maximum execution time of 120 seconds exceeded at C:\wamp64\www\mautic1\mautic\vendor\symfony\validator\Mapping\Loader\FileLoader.php:37)”} {“hostname”:“DESKTOP-LS3SIO1”,“pid”:14496}

[2024-08-04T08:49:41.222919+00:00] mautic.CRITICAL: Exception thrown when handling an exception (Twig\Error\SyntaxError: Unknown “mautibotGetImage” function. at C:\wamp64\www\mautic1\mautic\app\bundles\CoreBundle\Resources\views\Error\500.html.twig line 3) {“exception”:“[object] (Twig\Error\SyntaxError(code: 0): Unknown "mautibotGetImage" function. at C:\wamp64\www\mautic1\mautic\app\bundles\CoreBundle\Resources\views\Error\500.html.twig:3)”} {“hostname”:“DESKTOP-LS3SIO1”,“pid”:14496}

[2024-08-04T08:53:57.746993+00:00] mautic.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: “An exception has been thrown during the rendering of a template (“Failed to write cache file “C:\wamp64\www\mautic1\mautic/var/tmp/twig/f5/f5e3690a231a8b42f6e84ec6ea09a333.php”.”).” at C:\wamp64\www\mautic1\mautic\app\bundles\InstallBundle\Resources\views\Install\check.html.twig line 11 {“exception”:“[object] (Twig\Error\RuntimeError(code: 0): An exception has been thrown during the rendering of a template ("Failed to write cache file "C:\wamp64\www\mautic1\mautic/var/tmp/twig/f5/f5e3690a231a8b42f6e84ec6ea09a333.php"."). at C:\wamp64\www\mautic1\mautic\app\bundles\InstallBundle\Resources\views\Install\check.html.twig:11)\n[previous exception] [object] (RuntimeException(code: 0): Failed to write cache file "C:\wamp64\www\mautic1\mautic/var/tmp/twig/f5/f5e3690a231a8b42f6e84ec6ea09a333.php". at C:\wamp64\www\mautic1\mautic\vendor\twig\twig\src\Cache\FilesystemCache.php:76)”} {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T08:54:09.999643+00:00] mautic.CRITICAL: Exception thrown when handling an exception (Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template (“Failed to write cache file “C:\wamp64\www\mautic1\mautic/var/tmp/twig/af/af82cb72bb8412d4eb196c8b87b24ebd.php”.”). at C:\wamp64\www\mautic1\mautic\app\bundles\CoreBundle\Resources\views\Notification\flashes.html.twig line 3) {“exception”:“[object] (Twig\Error\RuntimeError(code: 0): An exception has been thrown during the rendering of a template ("Failed to write cache file "C:\wamp64\www\mautic1\mautic/var/tmp/twig/af/af82cb72bb8412d4eb196c8b87b24ebd.php"."). at C:\wamp64\www\mautic1\mautic\app\bundles\CoreBundle\Resources\views\Notification\flashes.html.twig:3)\n[previous exception] [object] (RuntimeException(code: 0): Failed to write cache file "C:\wamp64\www\mautic1\mautic/var/tmp/twig/af/af82cb72bb8412d4eb196c8b87b24ebd.php". at C:\wamp64\www\mautic1\mautic\vendor\twig\twig\src\Cache\FilesystemCache.php:76)”} {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T08:54:10.204516+00:00] mautic.ERROR: Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template (“Failed to write cache file “C:\wamp64\www\mautic1\mautic/var/tmp/twig/af/af82cb72bb8412d4eb196c8b87b24ebd.php”.”). - in file C:\wamp64\www\mautic1\mautic\app\bundles\CoreBundle\Resources\views\Notification\flashes.html.twig - at line 3 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:03:51.771938+00:00] mautic.WARNING: PHP Warning - openssl_csr_sign(): X.509 Certificate Signing Request cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 77 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:03:51.819699+00:00] mautic.WARNING: PHP Warning - openssl_x509_export_to_file(): X.509 Certificate cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 79 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:03:51.864750+00:00] mautic.WARNING: PHP Warning - openssl_pkey_export_to_file(): Cannot get key from parameter 1 - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 80 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:03:51.897500+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.crt): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 83 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:03:51.933391+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.key): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 84 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:03:52.034292+00:00] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “Invalid PEM encoded certificate” at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php line 73 {“exception”:“[object] (InvalidArgumentException(code: 0): Invalid PEM encoded certificate at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php:73)”} {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:04:08.380080+00:00] mautic.WARNING: PHP Warning - openssl_csr_sign(): X.509 Certificate Signing Request cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 77 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:04:08.409820+00:00] mautic.WARNING: PHP Warning - openssl_x509_export_to_file(): X.509 Certificate cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 79 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:04:08.437626+00:00] mautic.WARNING: PHP Warning - openssl_pkey_export_to_file(): Cannot get key from parameter 1 - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 80 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:04:08.456940+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.crt): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 83 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:04:08.472839+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.key): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 84 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:04:08.498692+00:00] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “Invalid PEM encoded certificate” at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php line 73 {“exception”:“[object] (InvalidArgumentException(code: 0): Invalid PEM encoded certificate at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php:73)”} {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:04:30.139312+00:00] mautic.WARNING: PHP Warning - openssl_csr_sign(): X.509 Certificate Signing Request cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 77 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:04:30.164888+00:00] mautic.WARNING: PHP Warning - openssl_x509_export_to_file(): X.509 Certificate cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 79 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:04:30.182818+00:00] mautic.WARNING: PHP Warning - openssl_pkey_export_to_file(): Cannot get key from parameter 1 - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 80 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:04:30.199098+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.crt): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 83 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:04:30.221389+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.key): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 84 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:04:30.249256+00:00] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “Invalid PEM encoded certificate” at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php line 73 {“exception”:“[object] (InvalidArgumentException(code: 0): Invalid PEM encoded certificate at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php:73)”} {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:18:32.683546+00:00] mautic.WARNING: PHP Warning - openssl_csr_sign(): X.509 Certificate Signing Request cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 77 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:18:32.709638+00:00] mautic.WARNING: PHP Warning - openssl_x509_export_to_file(): X.509 Certificate cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 79 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:18:32.732091+00:00] mautic.WARNING: PHP Warning - openssl_pkey_export_to_file(): Cannot get key from parameter 1 - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 80 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:18:32.765977+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.crt): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 83 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:18:32.791603+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.key): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 84 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:18:32.830699+00:00] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “Invalid PEM encoded certificate” at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php line 73 {“exception”:“[object] (InvalidArgumentException(code: 0): Invalid PEM encoded certificate at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php:73)”} {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:18:35.893219+00:00] mautic.WARNING: PHP Warning - openssl_csr_sign(): X.509 Certificate Signing Request cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 77 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:18:35.946669+00:00] mautic.WARNING: PHP Warning - openssl_x509_export_to_file(): X.509 Certificate cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 79 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:18:35.978305+00:00] mautic.WARNING: PHP Warning - openssl_pkey_export_to_file(): Cannot get key from parameter 1 - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 80 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:18:36.002159+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.crt): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 83 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:18:36.027383+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.key): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 84 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:18:36.065320+00:00] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “Invalid PEM encoded certificate” at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php line 73 {“exception”:“[object] (InvalidArgumentException(code: 0): Invalid PEM encoded certificate at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php:73)”} {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:26:45.379719+00:00] mautic.WARNING: PHP Warning - openssl_csr_sign(): X.509 Certificate Signing Request cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 77 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:26:45.412711+00:00] mautic.WARNING: PHP Warning - openssl_x509_export_to_file(): X.509 Certificate cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 79 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:26:45.450933+00:00] mautic.WARNING: PHP Warning - openssl_pkey_export_to_file(): Cannot get key from parameter 1 - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 80 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:26:45.480196+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.crt): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 83 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:26:45.503796+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.key): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 84 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:26:45.541291+00:00] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “Invalid PEM encoded certificate” at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php line 73 {“exception”:“[object] (InvalidArgumentException(code: 0): Invalid PEM encoded certificate at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php:73)”} {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:27:20.607230+00:00] mautic.WARNING: PHP Warning - openssl_csr_sign(): X.509 Certificate Signing Request cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 77 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:27:20.633376+00:00] mautic.WARNING: PHP Warning - openssl_x509_export_to_file(): X.509 Certificate cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 79 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:27:20.653183+00:00] mautic.WARNING: PHP Warning - openssl_pkey_export_to_file(): Cannot get key from parameter 1 - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 80 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:27:20.673896+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.crt): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 83 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:27:20.696260+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.key): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 84 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:27:20.731209+00:00] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “Invalid PEM encoded certificate” at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php line 73 {“exception”:“[object] (InvalidArgumentException(code: 0): Invalid PEM encoded certificate at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php:73)”} {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:27:50.425417+00:00] mautic.WARNING: PHP Warning - openssl_csr_sign(): X.509 Certificate Signing Request cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 77 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:27:50.456091+00:00] mautic.WARNING: PHP Warning - openssl_x509_export_to_file(): X.509 Certificate cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 79 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:27:50.476635+00:00] mautic.WARNING: PHP Warning - openssl_pkey_export_to_file(): Cannot get key from parameter 1 - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 80 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:27:50.495157+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.crt): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 83 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:27:50.512139+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.key): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 84 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:27:50.537456+00:00] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “Invalid PEM encoded certificate” at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php line 73 {“exception”:“[object] (InvalidArgumentException(code: 0): Invalid PEM encoded certificate at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php:73)”} {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:28:01.020825+00:00] mautic.WARNING: PHP Warning - openssl_csr_sign(): X.509 Certificate Signing Request cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 77 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:28:01.044679+00:00] mautic.WARNING: PHP Warning - openssl_x509_export_to_file(): X.509 Certificate cannot be retrieved - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 79 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:28:01.060519+00:00] mautic.WARNING: PHP Warning - openssl_pkey_export_to_file(): Cannot get key from parameter 1 - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 80 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:28:01.078958+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.crt): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 83 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:28:01.095950+00:00] mautic.WARNING: PHP Warning - file_get_contents(C:\wamp64\www\mautic1\mautic/var/cache/saml_default.key): Failed to open stream: No such file or directory - in file C:\wamp64\www\mautic1\mautic\app\bundles\UserBundle\Security\SAML\Store\CredentialsStore.php - at line 84 {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

[2024-08-04T09:28:01.118654+00:00] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “Invalid PEM encoded certificate” at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php line 73 {“exception”:“[object] (InvalidArgumentException(code: 0): Invalid PEM encoded certificate at C:\wamp64\www\mautic1\mautic\vendor\litesaml\lightsaml\src\Credential\X509Certificate.php:73)”} {“hostname”:“DESKTOP-LS3SIO1”,“pid”:9556}

Steps I have tried to fix the problem: