![]() Step 0 (thanks Kushal Niroula! see his comment below)Īs Kushal Niroula mentioned below, you should always check that you're importing the class at the top script, so do this first!Ĭheck the composer.json file, the autoload path. Typically it's just a typo or a uppercase where it should be lower or vice versa, in the namespace. So there are a few things you can do to fix the "Class '' not found" in PHP. I use composer autoload to load my classes. I am getting a "Class '' not found" when running my code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |