Unable to retrieve any posts of CPT in wp-admin

As mmm pointed out in the comments, order should not be used as a name for a custom post type, as it may “interfere with other WordPress functions”. Read more in the Codex:

Reserved Post Types The following post types are reserved and used by WordPress already.

  • post
  • page
  • attachment
  • revision
  • nav_menu_item
  • custom_css
  • customize_changeset

In addition, the following post types should not be used as they
interfere with other WordPress functions.

  • action
  • author
  • order
  • theme

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