Today, when I was doing the Rongcheng project, I made a low-level mistake. Using the online server test to display a blank page, I opened the phpstudy and tested it locally, and it gave me a hint of the error:
But I have already written table_yanpan_report_muban this data table class function, why do I not find it? Depressed for a long time, and later through a variety of information to find the problem;
Because I used the company framework and introduced a third-party class library, because the framework prescribes the naming rules for class files, this kind of bizarre phenomenon occurs when the class file name to be introduced does not conform to the specification of the framework, for example, the THINKPHP3 series class filename naming convention is "***.class.php", Laravel class file name is not allowed with "." In the Laravel framework, such as ****.php, which is unlawful in the Laravel framework, such as the ****.***.php of such an item.
The framework I use is just the "***.class.php" naming convention, so I get an error. After the modification, it will be displayed normally.
PHP has written a class function, but reported a fatal error can not find the class