How to get the revisions feature back on the classic editor?

I used to disable the Gutenberg with this:

//disable gutenburg
add_filter('use_block_editor_for_post', '__return_false', 10);

This filter disables the Gutenberg sitewide but it doesn’t work smoothly in other custom-post-types. Not only the revisions but other features are also hidden on the post edit screen of custom-post-types.

Changing this to the post type filter works smoothly across all post types.

//disable Gutenburg
add_filter( 'use_block_editor_for_post_type', '__return_false', 10 );

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