wp_insert_post issue

When inserting a new post, you must omit or leave the ID parameter empty, or the post will not be inserted. You can only set the ID if you are updating an existing post with that ID.

See wp_insert_post in Codex for more information.

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