can you tell me if there is any errors that are generated when you enable mdocs?
Describe what happens when you enable it.
The error was a timeout. I increased the php max time from 30 seconds to 90 seconds and it started loading. I don’t know if that was a one time only event after the upgrade or if it takes more time each time it loads. That’s a long time to rebuild indexes on a relatively small number of documents.
I am currently tracking a potential WordPress bug relating to PDFs and the creation of thumbnail images that on some servers is cause timeout issue. I will keep you posted but if your pages are loading now I would leave it at 90 for the time being.
Below is a link the the thread:
https://ww.wp.xz.cn/support/topic/keep-getting-timeouts-when-uploads-pdfs/
Nothing conclusive but it could be related to your issue.