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.

[SOLVED] Reporting ...
 
Notifications
Clear all

[SOLVED] Reporting error : deprecated constructor

3 Posts
2 Users
0 Reactions
3,448 Views
(@sebastien-perrier)
Posts: 2
New Member
Topic starter
 
[#3322]

Hello,

I got a major bug report on almost all reports since I've fix the Mutex.php bug ...

Here is the log when I select the report 'Current status / status of ongoing work' :

ERROR : Methods with the same name as their class will not be constructors in a future version of PHP; pData has a deprecated constructor
in pData.class
at line 48

Could you please help me ?

ProjeQtor version 5.1.5 on Debian


 
Posted : 22 Apr 2016 13H56
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Same issue as for Mutex exists on pData in /external/pChart/pData.class
Fix should be the same, but other issues of same kind may still exist in external libraries....

ProjeQtOr is not validated for PHP 7 🙁
Not yet...

[Edit] the 3 classes in pChart directories are concerned


 
Posted : 23 Apr 2016 0H44
(@sebastien-perrier)
Posts: 2
New Member
Topic starter
 

Ok, I've applied the same correction to following files :
pChart.class :
- function pChart($XSize,$YSize) transform in function __construct($XSize,$YSize)

pData.class :
- function pData() transform in function __construct()

and it works 🙂

Thank you very much babynus


 
Posted : 25 Apr 2016 12H27
Share:

Scroll to Top