Getting “Invalid argument supplied for foreach()” Warning

Used normal method to get field data instead of “unserialize

Switched this line:

$album_repeatable = unserialize($post_meta_data['album_repeatable'][0]);  

to this line:

$album_repeatable = get_post_meta($post->ID, 'album_repeatable', true);  

Now my repeatable field Data is being displayed.

Thanks @toscho for pointing it out…