Generating rel=”prev” and rel=”next” using filters

Try removing , 3. The previous_posts_link_attributes filter doesn’t have any additional arguments, so this should be either 1, or not be set at all (1 is the default).

add_filter( 'previous_posts_link_attributes', 'previous_posts_link_callback', 10 );

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