We get an error message when we try to create or copy an activity.
log file content :
2018-04-20 07:51:55.454 ===== TRACE ===== NEW CONNECTED USER 'Philippe'
2018-04-20 07:52:14.511 ===== TRACE ===== Cron started at 20/04/2018 07:52:14
2018-04-20 07:54:30.455 ** ERROR ** [V7.0.4] ERROR **
2018-04-20 07:54:30.456 ** ERROR ** [V7.0.4] on file 'C:inetpubwwwrootprojeqtormodelMutex.php' at line (54)
2018-04-20 07:54:30.456 ** ERROR ***** [V7.0.4] cause = count(): Parameter must be an array or an object that implements Countable
Thanks for your help.
This is not due to migration of ProjeQtOr, but to migration of PHP.
This issue does not produce with PHP 7.0, but will on PHP 7.2 and possibly on PHP 7.1
Fi is to replace line 54 in /model/Mutex.php, from
if (count($rs)==0) {
to
if (!is_array($rs) or count($rs)==0) {