Fix exception 'TPhpErrorException' with message '[Notice] Undefined index: marker.