View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Error message after upgrade to PHP 8.1 - ProjeQtOr
 
 

[SOLVED] Error message after upgrade to PHP 8.1

More
16 Jun 2022 11:31 #1 by caccia
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 ?
Attachments:

Please Log in or Create an account to join the conversation.

More
16 Jun 2022 11:42 - 16 Jun 2022 11:43 #2 by babynus
There is an easy workaround : give a resource name to all users.

NB : fix will be included in V10.0

Babynus
Administrator of ProjeQtOr web site
Last edit: 16 Jun 2022 11:43 by babynus.

Please Log in or Create an account to join the conversation.

More
16 Jun 2022 13:09 #3 by caccia
Unfortunately I'm still getting an error.
I updated to add some names everywhere, and now it seems both 'username' and full name' are ok :

 

But still the same error
Attachments:

Please Log in or Create an account to join the conversation.

More
18 Jun 2022 09:12 #4 by babynus
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)):'';

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
21 Jun 2022 09:26 #5 by caccia
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 !

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.061 seconds

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.