Home  >  Article  >  Backend Development  >  Why is the error that the class does not exist reported here?

Why is the error that the class does not exist reported here?

WBOY
WBOYOriginal
2016-12-01 00:56:231069browse

Why is the error that the class does not exist reported here?

Reply content:

Why is the error that the class does not exist reported here?

Looking at your URL path prompt, it should be the index method under the course controller under the admin module. Your screenshot is under the model. There should be a problem with the location you checked.


Update:
Looking at the screenshots, I still can’t find the problem. You should be able to find the problem from the error location in. Due to program limitations, the error cannot be debugged. I downloaded the thinkphp5 program from the official website and ran it locally. I simply wrote two lines of code and the model file under common can be loaded normally. The screenshot is as follows:
Why is the error that the class does not exist reported here?

Why is the error that the class does not exist reported here?][1]

Tried it

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn