Author List page: Exclude based on last post date not working correctly

You might want to use something like this:

if (strtotime('-6 months', time()) >= strtotime($posts[0]->post_date))
    continue;

When using strtotime, you actually can calculate in words, (e.g., +1 month, -3 hours).

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