get_page_by_title() not working if special characters are present

You may need to html entity decode that title. Similar to the issue found here. Try this:

get_page_by_title(
    html_entity_decode('The #1 Reason to Buy Right Now – THE MONEY!!'), 
    OBJECT, 
    'post',
));

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