Skip to content

Installation error with ddev and TYPO3 12.4.25 #4

@Hobokens

Description

@Hobokens

After the installation ddev composer req porthd/timer I get the error message:

<br />
<b>Fatal error</b>:  Declaration of Porthd\Timer\Command\UpdateTimerCommand::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output) must be compatible with Symfony\Component\Console\Command\Command::execute(Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output): int in <b>/var/www/html/vendor/porthd/timer/Classes/Command/UpdateTimerCommand.php</b> on line <b>149</b><br />

In a classic installation I get the following error, when I try to use the database analyzer to correct the install error:

  | Core: Exception handler (WEB): Uncaught TYPO3 Exception: Class "TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface" not found while loading "Porthd\Timer\Hooks\PageLayoutViewDrawItem". \| Symfony\Component\DependencyInjection\Exception\RuntimeException thrown in file /www/htdocs/xxxxxxxxx/my-domain.de/typo3_src-12.4.25/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php in line 51. Requested URL: https://my-domain.de/typo3/install.php?install%5Bcontroller%5D=maintenance&install%5Bcontext%5D=&install%5Baction%5D=databaseAnalyzerAnalyze -- | --

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions