Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Bug Fix: exceptionH...
 
Notifications
Clear all

Bug Fix: exceptionHandler() crashes in tool/projeqtor.php V13.0.1 on PHP 8.5 for non-admin users

4 Posts
2 Users
0 Reactions
61 Views
(@angeltek)
Posts: 20
Active Member
Topic starter
 
[#10134]

This causes a fatal PHP error and blank screen during logging in for a non-admin user in Projeqtor v13.0.1 (admin user appears to login fine). The Apache error log reports:

Got error 'PHP message: PHP Fatal error: Uncaught Error: Class "Parameter" not found in /var/www/example.org/projeqtor/tool/projeqtor.php:1612\nStack trace:\n#0 [internal function]: exceptionHandler()\n#1 {main}\n thrown in /var/www/example.org/projeqtor/tool/projeqtor.php on line 1612'

The fix is to load the Parameter class before attempting to use it. Insert the following line into tool/projeqtor.php immediately below the existing require_once stanza at line 39:

require_once '../model/Parameter.php';

 


 
Posted : 07 Aug 2026 18H00
babynus
(@babynus)
Posts: 14960
Main Contributor Admin
 

Hi,

 

Thanks for reporting the issue and proposing a fix.

In fact, I'm afraid you'll face other issues as ProjeQtOr V13.0 is not compatible with PHP 8.5

See compatibility matrix on our website.


 
Posted : 07 Aug 2026 18H40
(@angeltek)
Posts: 20
Active Member
Topic starter
 

Yup, I'm aware of that thanks. PHP 8.5 was released last November and has been the default for Fedora since April. Everything else I run on it (mostly WordPress) works well. To compensate, I have made another intervention in tool/projeqtor.php line 80 (or 81 after the exceptionHandler fix) replacing:

set_error_handler('errorHandler');

with:

set_error_handler('errorHandler', E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED);

Which for now prevents depreciation warnings being fatal errors.


 
Posted : 07 Aug 2026 19H22
babynus
(@babynus)
Posts: 14960
Main Contributor Admin
 

Good idea.

Will be included in next release.


 
Posted : 13 Aug 2026 16H39
Share:

Scroll to Top