You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I have PHP 8.0, Phalcon 5.0.0-alpha7 and phalcon-migration.phar version 2.2.4 installed on my server.
My config file looks like this:
usePhalcon\Config;
returnnewConfig([
//...
]);
When I start generating the migration, I get the response:
Phalcon Migrations
Fatal Error: Class "Phalcon\Config" not found
But if I change the Phalcon\Config class to Phalcon\Config\Config (which is supported in Phalcon 5), I get this response:
Phalcon Migrations
Fatal Error: Phalcon\Migrations\Console\Commands\Migration::loadConfig(): Return value must be of type Phalcon\Config, Phalcon\Config\Config returned
Hopefully Phalcon 5 support will be added soon!
The text was updated successfully, but these errors were encountered:
Currently I have
PHP 8.0
,Phalcon 5.0.0-alpha7
andphalcon-migration.phar
version 2.2.4 installed on my server.My config file looks like this:
When I start generating the migration, I get the response:
But if I change the
Phalcon\Config
class toPhalcon\Config\Config
(which is supported in Phalcon 5), I get this response:Hopefully Phalcon 5 support will be added soon!
The text was updated successfully, but these errors were encountered: