php7.1 compatibility?

Post Reply
emmanuelcohen
Posts: 3
Joined: 26 Oct 2017, 05:32

php7.1 compatibility?

Post by emmanuelcohen »

When I am trying to add a task, I get a 500.

The log says:

Code: Select all

[Wed Oct 25 20:47:51.024795 2017] [php7:error] [pid 25678] [client 10.32.7.74:49337] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function GTime::__construct(), 0 passed in /home/comtools/websites/soplanning/www/process/xajax_server.php on line 1467 and at least 5 expected in /home/comtools/websites/soplanning/includes/class_gtime.inc:9\nStack trace:\n#0 /home/comtools/websites/soplanning/www/process/xajax_server.php(1467): GTime->__construct()\n#1 /home/comtools/websites/soplanning/includes/xajax.inc(994): submitFormPeriode('0', 'inventory', Array, '25/10/2017', 'false', '', '', '00:00:00', '', '', 'false', 'false', '', '', '', '', '1', '1', '1', '1', '1', 'false', 'en_cours', '', '', 'non', 'GLPI', '', '', '', 'true')\n#2 /home/comtools/websites/soplanning/includes/xajax.inc(652): xajax->_callFunction('submitFormPerio...', Array)\n#3 /home/comtools/websites/soplanning/www/process/xajax_server.php(2385): xajax->processRequests()\n#4 {main}\n  thrown in /home/comtools/websites/soplanning/includes/class_gtime.inc on line 9, referer: http://comtools001.infra.mckay-brothers.com/taches.php
Is soplanning compatible with php7.1 or only php7 ?
Thanks
soplanning
Site Admin
Posts: 388
Joined: 31 Aug 2017, 15:58

Re: php7.1 compatibility?

Post by soplanning »

Hello
In theory, it is compatible with 7.1 too
Regarding the error, there's no difference on this function in those versions.

Anyway, we'll dig and will find the issue, maybe a specific case.
Will be fixed in next release.
best regards
Post Reply