Just execute /cli/joomla.php on command line
Output of the working cli
Following php error:
contains 1 abstract method and must therefore be declared abstract or implement the remaining methodsPHP 7.1
Maybe this caused by following abstract functions in libraries/src/Application/EventAware.php:
/**
* Get the event dispatcher.
*
* @return DispatcherInterface
*
* @since 4.0.0
* @throws \UnexpectedValueException May be thrown if the dispatcher has not been set.
*/
abstract public function getDispatcher();
/**
* Get the logger.
*
* @return LoggerInterface
*
* @since 4.0.0
*/
abstract public function getLogger();I saw we are user this in /libraries/src/Application/ConsoleApplication.php:
use DispatcherAwareTrait, EventAware, IdentityAware, ContainerAwareTrait, ExtensionManagerTrait;on line 35.
| Labels |
Added:
?
|
||
| Status | New | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-02-20 15:06:46 |
| Closed_By | ⇒ | Quy |
| Status | Fixed in Code Base | ⇒ | Closed |
| Closed_By | Quy | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/23941
/reopen
Still got the same error.
You need to be using the current git branch. Nightly builds are built nightly, not on every commit.
I merged the current 4.0-dev branche in to my 4.0 and update my command classes to use the new structure.
You did a fresh composer install as well to bring in the current dependency tree?
This would be fixed by #23847 but apparently either I'm on a pull request blacklist or changes that aren't related to the template or web applications causing errors to be thrown in everyone's faces aren't getting any attention.