Getting fatal error when using manage_media_columns filter of WordPress

It looks like the issue is coming because of the conflict of the hooks (manage_media_columns and manage_{$screen->id}_columns) because when we manage_{$screen->id}_columns used for media it becomes manage_media_columns and started conflicting.

The same details are mentioned in the documentation link of the hook.

Link: https://developer.wordpress.org/reference/hooks/manage_screen-id_columns/#more-information

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