Allow an editor to change the author

Did you use ‘register_post_type’ ? If yes, you can add on supports parameters => ‘author’ ?

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