Getting custom post type info using get_adjacent_post

get_custom_field is not a standard wordpress function, unless given the source code we cannot help you with it.

But I can tell you, that it is not getting its data from the post object, but the post meta.

e.g.

$value = get_post_meta($post->ID,'key name',true); // where true indicates there is only a single key value pair of 'key name'

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)