Something is wrong and I suspect it to be my PHP version that's 5.2 on this server; code was running on 5.6 before without any flaws...
I have debugged it down to the following code that's breaking. However, I get no error message..
$standard = array_map( function( $item ) {
return $item['standard_resolution']->url;
}, $images );
Can anyone help me redo this part of code so that it works in 5.2?