?
avatar f-hamel
f-hamel
4 Apr 2018

Steps to reproduce the issue

Execute php_cli cli/joomla.php on console

Expected result

Joomla! 4.0.0-dev

Usage:
  command [options] [arguments]

Options:
  -h, --help            Display the help information
  -q, --quiet           Flag indicating that all output should be silenced
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Flag to disable interacting with the user
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  help                            Show the help for a command
  list                            List the application's available commands
 cache
  cache:clean                     Cleans expired cache entries
 update
  update:extensions:check         Checks for pending extension updates
  update:joomla:remove-old-files  Removes old system files

Actual result

Error occurred: Call to undefined method Joomla\CMS\Application\ConsoleApplication::getConfig()

System information (as much as possible)

php_cli -v
PHP 7.1.9 (cli) (built: Sep  5 2017 10:48:18) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.0.1, Copyright (c) 2002-2017, by ionCube Ltd.

Additional comments

php_cli is on my system cli alias for php

avatar f-hamel f-hamel - open - 4 Apr 2018
avatar joomla-cms-bot joomla-cms-bot - change - 4 Apr 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Apr 2018
avatar joomla-cms-bot joomla-cms-bot - edited - 4 Apr 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2018
Category CLI
avatar mbabker
mbabker - comment - 4 Apr 2018

I had this fixed in a PR that's now going nowhere. Extracted and merged to 4.0-dev via 53f3a23

avatar mbabker mbabker - change - 4 Apr 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-04-04 11:54:11
Closed_By mbabker
avatar mbabker mbabker - close - 4 Apr 2018

Add a Comment

Login with GitHub to post a comment