GithubHelp home page GithubHelp logo

PHP Notice: Trying to get property 'sshUrl' of non-object in phar:///usr/local/bin/acli/src/Helpers/SshHelper.php on line 153 about cli HOT 4 CLOSED

acquia avatar acquia commented on August 26, 2024
PHP Notice: Trying to get property 'sshUrl' of non-object in phar:///usr/local/bin/acli/src/Helpers/SshHelper.php on line 153

from cli.

Comments (4)

danepowell avatar danepowell commented on August 26, 2024

I just reproduced this on an ACSF subscription.

from cli.

anavarre avatar anavarre commented on August 26, 2024

I tried the Acquia CLI build after #237 was merged but unfortunately I'm still seeing the issue.

from cli.

danepowell avatar danepowell commented on August 26, 2024

The problem is here: https://github.com/acquia/cli/blob/v1.0.0-rc6/src/Command/Ide/Wizard/IdeWizardCreateSshKeyCommand.php#L245

We hardcode the environment name as "dev" but on ACSF this could be "01dev" or even other permutations. We should use the environment detector to catch all cases, but that depends on acquia/drupal-environment-detector#6

A cursory grep of the codebase reveals this to be the only instance of a hardcoded environment name.

from cli.

anavarre avatar anavarre commented on August 26, 2024

Aha! That makes a great deal of sense. As soon as we get this merged for the env detector and can fix Acquia CLI, I will make sure we release a new version of IDEs. Right now that's a really bad first impression for ACSF users, especially because we'll have to cut a tag for #227 as well.

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.