upgrading ACF (advanced custom fields) on an old site [closed]

I copied your code to one of my sites to test with ACF version 5.3.9.2.
And it works for me I just had to make sure the field name and image size were correct.

$size = get_field('slideshow_size') ?: 'Panoramic'; // Make sure this size exists, and usually is all lower case.

$column_id[ $i ] = $row['slideshow-image']['id']; // Field names in ACF normally have an under score _ not a dash -

$image = $repeater[$i]['slideshow_image']['sizes'][$size]; // Same here

So just check those three things and I believe that should be it!