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.

Loading error
 
Notifications
Clear all

Loading error

4 Posts
2 Users
0 Reactions
2,481 Views
 HEU
(@quantamedical)
Posts: 58
Active Member
Topic starter
 
[#5952]

I report this error thince install of 8.0.2 yesterday

[Wed May 01 17:01:09.017460 2019] [:error] [pid 46772] [client 192.168.1.110:11173] PHP Fatal error: Can't use method return value in write context in /var/www/html/projeqtor/model/EmployeeManagerMain.php on line 560, referer: http://projeqtor.quanta-medical.com/view/main.php

I correct error by

public function hasManager($actual=true, $includeLeaveAdmin) {
$ret = $this->getManager($actual,$includeLeaveAdmin);
return(empty($ret)?false:true);
// return (empty($this->getManager($actual,$includeLeaveAdmin))?false:true);
}

Thanks


 
Posted : 02 May 2019 10H17
(@babynus)
Posts: 14952
Member Admin
 

Thanks for pointing out the issue, and moreover for providing fix.

Strange, but I could not reproduce.
Which version of PHP are you using ?


 
Posted : 03 May 2019 16H41
 HEU
(@quantamedical)
Posts: 58
Active Member
Topic starter
 

PHP Version 5.4.16 on CENTOS 7, updated yesterday


 
Posted : 03 May 2019 16H45
(@babynus)
Posts: 14952
Member Admin
 

OK, this explains the non reproductibility on PHP > 7.0


 
Posted : 03 May 2019 17H11
Share:

Scroll to Top