Help Center

Troubleshooting 'The Template Could Not Be Found' Error: A Step-by-Step Guide

Template not found error troubleshooting, Resolving 'The template could not be found' issue, Fixing template missing error messages 2
Print

Symptom

When accessing certain pages in WHMCS, you may encounter the following error, where $filename is the missing filename.

LogicException: The template "$filename" could not be found at  "/path/to/whmcs/resources/views/$filename.php"
 

Cause

If you see this error, the system could not find the corresponding file that contains the layout information for this page. This could indicate that something deleted the file.

Solution

To resolve this, upload the missing file to the appropriate subdirectory at /path/to/whmcs/resources/views/.

We also recommend ensuring that any other files that may be missing from the directory are present and correct on your server.

 
 
The End! should you have any inquiries, we encourage you to reach out to the Vercaa Support Center without hesitation.

Was this answer helpful?

Still need a hand?

Our support team is on standby if this article didn't fully answer your question.

« Back