Fatal error Uncaught Error

Username (e.g. epiz_XXX) or Web site

http://bookingappyemen.great-site.net/?i=1

Error Message

Fatal error : Uncaught Error: Class ‘App\models\Spaces_Type’ not found in /home/vol15_5/epizy.com/epiz_29576391/htdocs/index.php:28 Stack trace: #0 {main} thrown in /home/vol15_5/epizy.com/epiz_29576391/htdocs/index.php on line 28

Other Information

Hi! I am use graphql API for build my application
Mobile ,When I uploaded the website files to your hosting, this problem appeared

Make sure you have removed all localhost instances, and that everything is setup for use on your new hosting account. This is the most common thing that happens when people move local projects to a different server.
Thanks

If you were developing on Windows or MacOS, please note that those operating systems have case insensitive file and directory names, while Linux (which runs on almost all servers, including all of ours) has case sensitive files and directories.

In your account, I see you are using PSR-4 autoloading and have a folder called Models. So then the class namespace is also Models, not models.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.