Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

InstallCommand.php errors out when trying to install admin

Started by Muut Archive 11 years ago · 3 replies · 583 views
11 years ago

I can't install admin from bin/gpm due to errors in InstallCommand.php.

TXT

[04:10:19] /home/user/domains/website.com/public_html> bin/gpm install admin

The following dependencies need to be installed...
  |- Package form requires a newer version
  |- Package email requires a newer version
  |- Package login requires a newer version

Update these packages? [y|N] y
PHP Notice:  Trying to get property of non-object in /home/user/domains/website.com/public_html/system/src/Grav/Console/Gpm /InstallCommand.php on line 655
PHP Notice:  Trying to get property of non-object in /home/user/domains/website.com/public_html/system/src/Grav/Console/Gpm /InstallCommand.php on line 657
Preparing to install  [v]
  |- Downloading package...     0%PHP Notice:  Trying to get property of non-object in /home/user/domains/website.com/public_html/system/src/Grav/Console/Gpm /InstallCommand.php on line 689
PHP Notice:  Trying to get property of non-object in /home/user/domains/website.com/public_html/system/src/Grav/Console/Gpm /InstallCommand.php on line 689
PHP Notice:  Trying to get prope rty of non-object in /home/user/domains/website.com/public_html/system/src/Grav/Console/Gpm /InstallCommand.php on line 690
Installation aborted
---
11 years ago

I was able to install form and email separately, but trying to install login throws a fatal error.

PHP

PHP Fatal error:  Uncaught Error: Call to undefined method Grav\Console\Gpm\InstallCommand::getGrav() in /home/user/domains/website.com/public_html/system/src/Grav/Console/Gpm /InstallCommand.php:258
Stack trace:
#0 /home/user/domains/website.com/public_html/system/src/Grav/Console/Gpm /InstallCommand.php(149): Grav\Console\Gpm\InstallCommand->processDependencies(Array)
#1 /home/user/domains/website.com/public_html/system/src/Grav/Console/Con soleCommand.php(26): Grav\Console\Gpm\InstallCommand->serve()
#2 /home/user/domains/website.com/public_html/vendor/symfony/console/Comm and/Command.php(259): Grav\Console\ConsoleCommand->execute(Object(Symfony\Component\Console\ Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /home/user/domains/website.com/public_html/vendor/symfony/console/Appl ication.php(844): Symfony\Component\Console\Command\Command->run(Object(Symfony\Componen t\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\Co nsoleOutput))
#4 /home/use in /home/user/domains/website.com/public_html/system/src/Grav/Console/Gpm /InstallCommand.php on line 258
---
11 years ago

Is this the latest Grav release, or did you download from github directly?

11 years ago

Recreated in the github develop branch, please use the latest stable Grav version you can download on the site, or checkout the latest release tag, as develop is not stable

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2289 9 years ago
Archive · by Muut Archive, 9 years ago
2 1503 9 years ago
Archive · by Muut Archive, 9 years ago
2 4754 9 years ago
Archive · by Muut Archive, 9 years ago
1 3570 9 years ago
Archive · by Muut Archive, 9 years ago
3 1627 9 years ago