Fatal error: Uncaught Error: Class 'Phalcon\Config' not found (Windows) #15933
Unanswered
michaltaglewski
asked this question in
Q&A
Replies: 2 comments 2 replies
-
You are using devtools that generated code of Phalcon v4, which is not compatible with v5. Check changelog to adapt generated code - https://github.com/phalcon/cphalcon/releases Also use stubs, to improve classes visibility - |
Beta Was this translation helpful? Give feedback.
1 reply
-
somehow, the namespace has been changed to
so, you can use it like this:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm getting error when trying to create new project using devtool.
Fatal error: Uncaught Error: Class 'Phalcon\Config' not found...
Phalcon and Psr extension DLLs seem to be installed correctly (phpinfo display it)
DevTools installed globally with composer.
I tried with PHP 8.0 too - same result.
Beta Was this translation helpful? Give feedback.
All reactions