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

WBOY
Release: 2023-03-01 21:02:02
Original
1072 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!