in reply to ... something in the environment?

Completely wild guess but maybe try turning tracing on $update_or_insert->trace( 2 ) and see if that produces anything interesting and/or different between the two platforms.

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^2: ... something in the environment?
by chexmix (Hermit) on Feb 27, 2020 at 20:41 UTC

    Thanks for the reply. I did create tracelogs but don't have one from my test environment yet.

    We've reverted to using the old code for now. I will return to this after our shadow test is over.

    This stinks for me. This project, at least in the testing phase, was a big code change and I was more methodical and focused than I've ever been before (hey, I'm only 58!). I was starting to feel more competent at this stuff. Then this.