I have created a new admin user and set a new user role which have access to only customer section. When we logged in with that particular user , we are able to see the customer list but when clicked on edit customer it gives below error
This page isn’t working, currently unable to handle this request. HTTP ERROR 500
I referred Magento 2.2.3- ACL Permissions not Working for Customer module and tried adding the fix in UiComponentFactory.php but it doesnt work and there is no error log or system log. Any solution?
Edit: On adding logger i am getting the following error:
[2019-04-08 16:21:43] main.INFO: Invalid block type: Magento\Customer\Block\Adminhtml\Edit\Tab\View   [2019-04-08 16:21:52] main.CRITICAL: Class XXXX\YYYY\Block\Adminhtml\Customer\Edit\Tab\View does not exist