Old Docs show "Invalid File Reference", New docs 500 error

Currently on Version 7.11.2, was happening on 7.10, possibly before.

Trying to view any documents throws an Invalid File Reference.
When I create a new document then try to view it, I get a 500 error with the below in the error log… although I don’t think it’s related to this problem.
Where can I look for this solution

[21-Mar-2019 15:02:02 UTC] PHP Fatal error: Uncaught Exception: cron.php is CLI only. in /home/ctobvaluecrm/public_html/crm77/include/utils.php:1777
Stack trace:
#0 /home/MySuitecrm/public_html/crm77/cron.php(52): sugar_die(‘cron.php is CLI…’)
#1 {main}
thrown in /home/MySuitecrm/public_html/crm77/include/utils.php on line 1777

Cron Job is:
cd /home/MySuitecrm/public_html/crm77; php cron.php-f / dev / null 2> & 1

I’ve downgraded back to 7.10.14

The New Docs error is
Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/ctobvaluecrm/public_html/crm77/download.php:182 Stack trace: #0 /home/ctobvaluecrm/public_html/crm77/include/MVC/Controller/SugarController.php(1020): require_once() #1 /home/ctobvaluecrm/public_html/crm77/include/MVC/Controller/SugarController.php(468): SugarController->handleEntryPoint() #2 /home/ctobvaluecrm/public_html/crm77/include/MVC/Controller/SugarController.php(373): SugarController->process() #3 /home/ctobvaluecrm/public_html/crm77/include/MVC/SugarApplication.php(113): SugarController->execute() #4 /home/ctobvaluecrm/public_html/crm77/index.php(52): SugarApplication->execute() #5 {main} thrown in /home/ctobvaluecrm/public_html/crm77/download.php on line 182

I had mime.magic installed on the server, no help.

From the hosting company:

The issue was caused by the fileinfo extension not being enabled for PHP7.2 in EasyApache4. Once we enabled this extension it worked fine.

You would go into WHM and then EasyApache4. Once there you will customize the current settings and under the Extensions you should be able to find the one you are looking for. You would just check it to Enabled and then provision the setup and it will add anything you added to the loadout of the server.

Will investigate “Invalid File reference” next