No Code Attached Yet
avatar brianteeman
brianteeman
14 Jun 2023

Steps to reproduce the issue

try to run the cli eg php cli/joomla.php

Actual result

PHP Fatal error:  Declaration of Joomla\Console\Descriptor\TextDescriptor::describe(Symfony\Component\Console\Output\OutputInterface $output, $object, array $options = []) must be compatible with Symfony\Component\Console\Descriptor\Descriptor::describe(Symfony\Component\Console\Output\OutputInterface $output, object $object, array $options = []): void in C:\laragon\www\j5\libraries\vendor\joomla\console\src\Descriptor\TextDescriptor.php on line 37
Symfony\Component\ErrorHandler\Error\FatalError^ {#693
  #message: "Compile Error: Declaration of Joomla\Console\Descriptor\TextDescriptor::describe(Symfony\Component\Console\Output\OutputInterface $output, $object, array $options = []) must be compatible with Symfony\Component\Console\Descriptor\Descriptor::describe(Symfony\Component\Console\Output\OutputInterface $output, object $object, array $options = []): void"
  #code: 0
  #file: "C:\laragon\www\j5\libraries\vendor\joomla\console\src\Descriptor\TextDescriptor.php"
  #line: 37
  -error: array:4 [
    "type" => 64
    "message" => "Declaration of Joomla\Console\Descriptor\TextDescriptor::describe(Symfony\Component\Console\Output\OutputInterface $output, $object, array $options = []) must be compatible with Symfony\Component\Console\Descriptor\Descriptor::describe(Symfony\Component\Console\Output\OutputInterface $output, object $object, array $options = []): void"
    "file" => "C:\laragon\www\j5\libraries\vendor\joomla\console\src\Descriptor\TextDescriptor.php"
    "line" => 37
  ]
}

image

System information (as much as possible)

PHP 8.1.3 (cli) (built: Feb 16 2022 08:20:53) (NTS Visual C++ 2019 x64)

Additional comments

avatar brianteeman brianteeman - open - 14 Jun 2023
avatar joomla-cms-bot joomla-cms-bot - change - 14 Jun 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Jun 2023
avatar HLeithner
HLeithner - comment - 14 Jun 2023

have to be fixed in the framework https://github.com/joomla-framework/console/tree/3.x-dev @Hackwar

I leave this open till it's fixed in the framework and here in the cms

avatar HLeithner HLeithner - change - 14 Jun 2023
Labels Added: Release Blocker
avatar HLeithner HLeithner - labeled - 14 Jun 2023
avatar Hackwar
Hackwar - comment - 16 Jun 2023

The issue is fixed in the framework. You have to update the dependencies to take effect in J5

avatar richard67
richard67 - comment - 23 Jun 2023

Should be solved with PR #41028 , which includes the dependency update. Leaving this issue open though as long as it’s not clear that the dependency update will not be reverted.

avatar richard67
richard67 - comment - 25 Jun 2023

Has been solved with the dependency update from PR #41028 .

avatar richard67 richard67 - change - 25 Jun 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-06-25 11:34:36
Closed_By richard67
avatar richard67 richard67 - close - 25 Jun 2023
avatar richard67 richard67 - change - 25 Jun 2023
Labels Removed: Release Blocker
avatar richard67 richard67 - unlabeled - 25 Jun 2023

Add a Comment

Login with GitHub to post a comment