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 "BaseCommand" does not exist in CommandDiscovery.php #1

Open
manoxs opened this issue Mar 2, 2021 · 1 comment
Open

Class "BaseCommand" does not exist in CommandDiscovery.php #1

manoxs opened this issue Mar 2, 2021 · 1 comment

Comments

@manoxs
Copy link

manoxs commented Mar 2, 2021

Not able to run ./cfcli.phar anymore, I get the following eror

PHP Fatal error:  Uncaught ReflectionException: Class "BaseCommand" does not exist in phar:///home/gutierm18/Documents/Drupal/cfcli/cfcli.phar/src/CommandDiscovery.php:19
Stack trace:
#0 phar:///home/gutierm18/Documents/Drupal/cfcli/cfcli.phar/src/CommandDiscovery.php(19): ReflectionClass->__construct()
#1 phar:///home/gutierm18/Documents/Drupal/cfcli/cfcli.phar/cfcli(55): Cloudflare\CommandDiscovery::findCommands()
#2 /home/gutierm18/Documents/Drupal/cfcli/cfcli.phar(10): require('...')
#3 {main}
  thrown in phar:///home/gutierm18/Documents/Drupal/cfcli/cfcli.phar/src/CommandDiscovery.php on line 19

Fatal error: Uncaught ReflectionException: Class "BaseCommand" does not exist in phar:///home/gutierm18/Documents/Drupal/cfcli/cfcli.phar/src/CommandDiscovery.php:19
Stack trace:
#0 phar:///home/gutierm18/Documents/Drupal/cfcli/cfcli.phar/src/CommandDiscovery.php(19): ReflectionClass->__construct()
#1 phar:///home/gutierm18/Documents/Drupal/cfcli/cfcli.phar/cfcli(55): Cloudflare\CommandDiscovery::findCommands()
#2 /home/gutierm18/Documents/Drupal/cfcli/cfcli.phar(10): require('...')
#3 {main}
  thrown in phar:///home/gutierm18/Documents/Drupal/cfcli/cfcli.phar/src/CommandDiscovery.php on line 19

@seanhamlin
Copy link
Owner

This looks like a conflict with PHP upgrading, and the cfcli codebase. Likely best if you just pull an existing image from dockerhub.

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

No branches or pull requests

2 participants