Auto-generated posts not showing in backend (but being counted!)

Ugggggggh.

"post_status" => "published",

is incorrect. It should be

 "post_status" => "publish",

This apparently puts posts into a state of limbo in which they’re not visible in the list (but still counted for some reason).

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