$post->id vs $post->ID problem after using WordPress config bootstrap

The WordPress-Config-Bootstrap is setting DEBUG to true on a local installation. If you try to define DEBUG again later you should get another error. The solution is not to use the non-existent property $id. Notices should be fixed not suppressed.

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