Matthew 27:45-50 (New International Version)
The Death of Jesus
45 From the sixth hour until the ninth hour darkness came over all the land. 46 About the ninth hour Jesus cried out in a loud voice, "Eloi, Eloi, lama sabachthani?"—which means, "My God, my God, why have you forsaken me?"
47 When some of those standing there heard this, they said, "He's calling Elijah."
48 Immediately one of them ran and got a sponge. He filled it with wine vinegar, put it on a stick, and offered it to Jesus to drink. 49 The rest said, "Now leave him alone. Let's see if Elijah comes to save him."
50 And when Jesus had cried out again in a loud voice, he gave up his spirit.
Luke 23:44-46 (New International Version)
Jesus' Death
44 It was now about the sixth hour, and darkness came over the whole land until the ninth hour, 45 for the sun stopped shining. And the curtain of the temple was torn in two. 46 Jesus called out with a loud voice, "Father, into your hands I commit my spirit." When he had said this, he breathed his last. John 19:28-30 (New International Version)
The Death of Jesus
28 Later, knowing that all was now completed, and so that the Scripture would be fulfilled, Jesus said, "I am thirsty." 29 A jar of wine vinegar was there, so they soaked a sponge in it, put the sponge on a stalk of the hyssop plant, and lifted it to Jesus' lips. 30 When he had received the drink, Jesus said, "It is finished." With that, he bowed his head and gave up his spirit.
Matthew 27:50 says this 50 And when Jesus had cried out again in a loud voice, he gave up his spirit which occurs after the "My God, my God, why have you forsaken me?" utterance.
There is nothing to say that Jesus didn't cry out again loud voice "It is finished" which was recalled by John and "Father, into your hands I commit my spirit" in a soft voice which was heard/recalled by Luke. THE final words are likely to be softly spoken and only heard by those who are in close proximity.
If you are looking for a transcript of the events then the bible is not that document. new light is probably somewhat correct in that those wishing to find "faults" in the bible can find them easily and other like myself see no contradictions.
Blessings,
Stephen