Gallery shortcode is empty but magically creates a gallery

The default behaviour of the gallery shortcode, when no IDs are given, is to display all images that are attached to the current page/post. An image is attached to a post when it’s uploaded directly to a specific post.

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