Hi guys.
I'm new to this, so hello at all.
I just wanted to setup projeqtor v934, latest version on my
rockylinux server
I have installed php8.1 with all its subcomponents, mariadb and apache
I came to the configuration page where I set all the parameters for db access etc, saved settings, got a warning for max_input_value and pressed continue (just wanted to proceed first and later "fix" o sea set this value correctly)
Then I got ERROR: an error ocurred.... <timestamp>
So I changed loglevel to get any log file, restarted httpd and got this:
ERROR : trim(): Passing null to parameter #1 ($string) of type string is deprecated
in log file, there is
2021-11-30 21:36:28.219 ***** ERROR ***** [] ERROR *****
2021-11-30 21:36:28.219 ***** ERROR ***** [] on file '/var/www/html/projeqtor/model/persistence/SqlElement.php' at line (747)
2021-11-30 21:36:28.219 ***** ERROR ***** [] cause = trim(): Passing null to parameter #1 ($string) of type string is deprecated
I had a quick research last night and it seems php8.x is the "problem" there are not-nullable functions which have been nullable in previous versions.
see [php.watch/versions/8.1/internal-func-non...ble-null-deprecation]
And now that the comment in your source tells
* @param $id the
* id of the object in the database (null if not stored yet)
the problem seams clear to me.
Setting back is not possible for me, because it's not the only thing running on that machine.
In readme.txt it tells "PHP 7.x or 8.0 is advised when available (the latest the better) : it brings great performance improvments"
so I thought it works.
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
Cookies settings
×
Functional Cookies
Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.
Session
Please login to see yours activities!
Other cookies
Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.