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.
2013-03-14 16:54:28 ** ERROR ** ERROR **
2013-03-14 16:54:28 ** ERROR ** on file '/var/www/localhost/htdocs/projectorria/model/ImputationLine.php' at line (285)
2013-03-14 16:54:28 ** ERROR ***** cause = Array to string conversion
Hi,
Issue fixed.
Stange it generates an error for you.
For me it does not and generates an "Array" text for the array instead of generating an error.
What is your PHP version ?
Fix is easy, just comment line 285 in /model/ImputationLine.php (a call to scriptLog) :
private static function getParent($elt, $result, $direct=true){
//scriptLog(" => ImputationLine->getParent($elt->refType#$elt->refId, $result, $direct)");
Found the reason.
It is a PHP 5.4 backyard incompatibility
Converting an array to a string will now generate an E_NOTICE level error, but the result of the cast will still be the string "Array".
You are using PHP 5.4, aren't you ?
Yes, we are using 5.4