Open editor post in a popup

You need to tell get_edit_post_link to not use the ampersands as specified in the codex. Try this instead:

   var pop = window.open(' <?php echo get_edit_post_link(get_the_ID(), ''); ?> ', '_blank', 'screenX=200,screenY=200,width=1000,height=600');

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