AnsweredAssumed Answered

Bug in PHP code: FileMaker\Implementation\LayoutImpl.php

Question asked by daalcivare on Feb 18, 2012
Latest reply on Mar 9, 2012 by TSGal

Summary

Bug in PHP code: FileMaker\Implementation\LayoutImpl.php

Product

FileMaker Server

Version

fm server 11.0.3.312 (PHP5.2)

Operating system version

windows 7 sp1 32bit

Description of the issue

LayoutImpl.php line 37 is doing:

return $Vcb5e100e =& new FileMaker_Error($this->_fm, 'Field Not Found');

but when that line of code is reached it generates the following PHP error:

"Only variable references should be returned by reference"

changing that line to:

$Vcb5e100e =& new FileMaker_Error($this->_fm, 'Field Not Found');
return $Vcb5e100e;

resolves the issue.

Outcomes