Closed JanKoppe closed 1 year ago
It works fine for us with PHP 8.1.
We've updated "onelogin/php-saml" library version to the latest in the SAML SOO Module v1.0.5. Please check.
Strange that you have this error on Docker image 1.16.27 and don't have on 1.16.26. The only thing that changed is the FreeScout version.
@tiredofit Since docker image 1.16.27 people began to report "Typed property SomeClass::$variable must not be accessed before initialization"
type of issue. Maybe you have some idea what has changed in the docker configuration that may cause this?
Not much to be honest - the image is in a stable state. My first thought would be the PHP version, but it seems that's already been covered. I will do some digging throughout the week to see if I can find anything.
Ok. Also we've noticed this error happens only with https://www.php.net/manual/en/book.dom.php PHP DOM (xml) extension objects.
It looks like the problem is in PHP 8.1 and xml
package/extension.
@tiredofit FreeScout is mostly compatible with PHP8.2 now. Maybe you can try to use PHP 8.2 in the docker configuration.
OK. Will on next release switch the default to 8.2 - I build for multiple versions for my own internal reasons but next :latest will be 8.2.
Thanks for the insight. I will try upgrading to the 8.2 Docker image when I return to work in 2 weeks. Let's hope that fixes it.
@tiredofit I ran this:
docker run --rm tiredofit/freescout:php8.2-1.16.27 php -v
And i get:
PHP 8.1.15 (cli) (built: Feb 5 2023 22:22:23) (NTS)
I imagine you are probably aware of this, but wanted to chime in, just in case others are having this.
@tiredofit I ran this:
docker run --rm tiredofit/freescout:php8.2-1.16.27 php -v
And i get:
PHP 8.1.15 (cli) (built: Feb 5 2023 22:22:23) (NTS)
I imagine you are probably aware of this, but wanted to chime in, just in case others are having this.
tiredofit/freescout:php8.2-1.16.28
Worked for me!
After upgrading to 1.16.27, the login via SAML was not possible for us anymore. A downgrade to 1.16.26 fixed it.
We were using the tiredofit/freescout:php8.1-1.16.27 Docker image.
Edit: Using SAML SSO module 1.0.4 - no updates available.