PHP Fatal error: Uncaught Error: Class 'Phalcon\Di\FactoryDefault\Cli' not found #342
Replies: 2 comments 4 replies
-
Amm, not sure, but they are differences between Phalcon 3.1 and 3.4. Maybe this is the issue. Can you make it both to 3.4? PS: this discussion must be placed in cphalcon, but anyway |
Beta Was this translation helpful? Give feedback.
4 replies
-
i fixed the problem after upgrading to phalcon version 3.4. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi, I'm inserting the phalcon cli in a dev environment which has a version of php/phalcon:
PHP Version 7.0.32-0ubuntu0.16.04.1
Author Phalcon Team and contributors
Version 3.1.2
Build Date Apr 13 2017 11:46:10
Powered by Zephir Version 0.9.7-3cb5f8f376
unfortunately running returns this error.
PHP Fatal error: Uncaught Error: Class 'Phalcon\Di\FactoryDefault\Cli' not found in /store/www/.../app/cli.php:20
Instead on a local environment it works correctly:
PHP Version 7.0.30-1+ubuntu16.04.1+deb.sury.org+1
Author Phalcon Team and contributors
Version 3.4.0
Build Date Jun 6 2018 04:43:19
Powered by Zephir Version 0.10.10-d1b4cc68d9
I did several searches and it seems to exist in an older version than mine:
https://devdocs.io/phalcon~3/api/phalcon_di_factorydefault_cli
https://phalcon-php-framework-documentation.readthedocs.io/en/latest/api/Phalcon_Di_FactoryDefault_Cli.html
https://docs.w3cub.com/phalcon~2/api/phalcon_di_factorydefault_cli
I honestly don't know whether to trust these documentations.
I await your news.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions