A next page function with shortcode?

next_post_link() doesn’t return the output, prints, use get_next_post_link() in your shortcode.

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