Overriding of the template for the Attachment “thumbnails” in the Media Grid isn’t working

There was a typo, and instead of:

wp.media.view.Attachment.prototype.template = wp.media.template( 'attachment-custom' );

Should be:

wp.media.view.Attachment.prototype.template = wp.media.template( 'attachment_custom' );

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