-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fatal error: Trait 'AQUILA_THEME\Inc\Traits\Singleton' not found #37
Comments
Please check the github repo code to see what you may be missing. |
Same error i am facing. Namespace doesn't seem to work. I have checked the code from repository |
I don't know if you guys found the solution but it could be the folder structure. I had the same issue and realised my traits folder was inside the helpers folder when classes, helpers and traits should all be direct children of the inc folder. I hope this will help someone :-) |
I encounter the same problem and it cannot be solved even after reviewing the code and arranging the folders. I hope for help and a quick response, thanks to all |
Anyone who knows how to solve the problem? I come across the same problem... |
I also had the same issue, but later I got to know that there was an issue with my filename. It had traits-singleton.php, but it should be trait-singleton.php according to our code in autloader.php |
thats exactly what the problem is ! just changing the filename resolved the issue for me |
the namespace doesn't seem to work.
Fatal error: Trait 'AQUILA_THEME\Inc\Traits\Singleton' not found in A:\xampp\htdocs<User>\wp-content\themes\aquila\inc\classes\class-aquila-theme.php on line 12
The text was updated successfully, but these errors were encountered: