Guides & Tutorials8.6 UpdateTroubleshootingModelNotFoundException: No query results for model [WHMCS\CustomField]

ModelNotFoundException: No query results for model [WHMCS\CustomField]

Symptom

After updating to WHMCS 8.4, 8.5. or 8.6, you may experience an ModelNotFoundException error when viewing invoices if you have enabled Client Data Snapshot and Tax Support:

Illuminate\Database\Eloquent\ModelNotFoundException: No query results for model [WHMCS\CustomField] x

Solution

Update to the 8.7.0 release at Utilities > Update WHMCS.

Hotfix