Subscribe Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security. Subscribe

Getting [Error] Class 'ViewModel' not found

My configuration: IIS 10, MSSQL Server.

I had our on site version of TestRail give us this message for about 20 minutes. I restarted IIS but even then things did not cleat for about 5-10 minutes.

From my log:

[E] 2020-03-12 11:29:22 [187ms]: [Error] Class ‘ViewModel’ not found

File: C:\inetpub\wwwroot\TestRail\app\base\controllers\application.php
Line: 74
Status Code: 500
Host: localhost
Uri: /testrail/index.php?/admin/log (GET)

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0
PHP: 7.2.19
Server: Windows NT 10.0 build 14393 (Windows Server 2016) AMD64

at ApplicationController->_init (admin.php:16)
at AdminController->_init (log.php:15)
at Log_controller->_init (gizmo.php:106)
at require_once (index.php:114)

Any ideas as to cause or how to clear this up faster in the future?