Get the_field of Advanced Custom Fields in a custom query [closed]

In general, you need to pass the page ID to the_field and for that matter get_post_meta as well

You can try the following

the_field( 'sale_images_url', $page->ID );

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