1 Reply Latest reply on Mar 9, 2012 1:48 PM by TSGal

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

    daalcivare

      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.