Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'SleekDB\Store' not found #247

Closed
FunWithAlbiYT opened this issue Dec 17, 2022 · 2 comments
Closed

Class 'SleekDB\Store' not found #247

FunWithAlbiYT opened this issue Dec 17, 2022 · 2 comments
Labels
question Further information is requested

Comments

@FunWithAlbiYT
Copy link

Fatal error: Uncaught Error: Class 'SleekDB\Store' not found in /home/runner/projx/index.php:23 Stack trace: #0 {main} thrown in /home/runner/projx/index.php on line 23

I used composer to install and this is line 21, 22, 23, and 24:
image

@Timu57
Copy link
Member

Timu57 commented Dec 17, 2022

Hi @FunWithAlbiYT
Thank you for your report.

Can you show me how you imported SleekDB? The error indicates that SleekDB is missing.

If you used a use statement you probably just need to write new Store(). Without the SleekDB part.

@Timu57 Timu57 added the question Further information is requested label Dec 17, 2022
@FunWithAlbiYT
Copy link
Author

It's fixed now I don't really know how.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants