Notifications
Clear all
Topic starter
Hello,
I'm testing upgrade of my server to PHP 8.1, and after connection I get an error when displaying the left-side menu.
*
* ERROR ** [V9.5.5] on file '/projeqtor/view/menuNewGuiLeft.php' at line (677) ** ERROR ** [V9.5.5] cause = ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated
Is there a solution for this ?
Posted : 16 Jun 2022 13H31
There is an easy workaround : give a resource name to all users.
NB : fix will be included in V10.0
Posted : 16 Jun 2022 13H42
Hi,
in file view/menuNewGuiLeft.php, replace line 677 from
$nameSubstr=ucfirst(pq_substr($nameSubstr,0,-4));
to
$nameSubstr=($nameSubstr)?ucfirst(pq_substr($nameSubstr,0,-4)):'';
Posted : 18 Jun 2022 11H12
Topic starter
Great to have a fix thanks 🙂
I'll stay on PHP 8.0 for now on our prod servers and upgrade after v10 to include the fix.
Thanks !
Posted : 21 Jun 2022 11H26

