GithubHelp home page GithubHelp logo

Issues refreshing ACSF sites about cli HOT 1 CLOSED

acquia avatar acquia commented on August 26, 2024
Issues refreshing ACSF sites

from cli.

Comments (1)

anavarre avatar anavarre commented on August 26, 2024

I reproduced against a test ACSF sub. Also happens with RC6.

ide:~/project$ acli refresh
Using Cloud Application <REDACTED>
Choose an Acquia Cloud environment to copy from:
  [0] 01dev (vcs: develop)
  [1] 01_test (vcs: composer-refactor-070920)
 > 1
    ✔ Pulling code from Acquia Cloud
{"cloud":{"site":"<REDACTED>","env":"01_test"},"memcache_inc":"profiles\/gardens\/modules\/acquia\/memcache\/memcache.inc",
"sites": {
"<REDACTED>.acsitefactory.com": {"name":"<REDACTED>test","flags":{"preferred_domain":true},"conf":{"gardens_site_id":<REDACTED>,"gardens_db_name":"REDACTEDtest","acsf_site_id":<REDACTED>,"acsf_db_name":"<REDACTED>test","site_api_key":"<REDACTED>"}}
}}
PHP Fatal error:  Uncaught TypeError: Return value of Acquia\Cli\Command\RefreshCommand::getAcsfSites() must be of the type array, null returned in phar:///usr/local/bin/acli/src/Command/RefreshCommand.php:572
Stack trace:
#0 phar:///usr/local/bin/acli/src/Command/RefreshCommand.php(397): Acquia\Cli\Command\RefreshCommand->getAcsfSites(Object(AcquiaCloudApi\Response\EnvironmentResponse))
#1 phar:///usr/local/bin/acli/src/Command/RefreshCommand.php(534): Acquia\Cli\Command\RefreshCommand->promptChooseDatabase(Object(AcquiaCloudApi\Response\EnvironmentResponse), Array)
#2 phar:///usr/local/bin/acli/src/Command/RefreshCommand.php(92): Acquia\Cli\Command\RefreshCommand->determineSourceDatabase(Object(AcquiaCloudApi\Connector\Client), Object(AcquiaCloudApi\Response\EnvironmentResponse))
#3 phar:///usr/local/bin/acli/vendor/symfony/console/Command/Command.php(258): Acquia\Cli\Command\RefreshCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 phar:///usr/local in phar:///usr/local/bin/acli/src/Command/RefreshCommand.php on line 572

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.