Issue Bug Closed

#108482 typo3 setup: Argument #1 ($serverType) must be of type string, null given

Lina Wolf 12/13/25, 03:00 updated 03/31/26, 08:59

Description

Running the typo3 setup command on a current monorepository installation and just pressing enter on the server type

ddev typo3 setup
Which web server is used?
[apache] Apache
[iis ] Microsoft IIS
[other ] Other (use for anything else)
>

Uncaught TYPO3 Exception TYPO3\CMS\Install\Command\SetupCommand::TYPO3\CMS\Install\Command\{closure}(): Argument #1 ($serverType) must be of type string, null given, called in /var/www/html/vendor/symfony/console/Helper/QuestionHelper.php on line 470
thrown in file /var/www/html/typo3/sysext/install/Classes/Command/SetupCommand.php
in line 497

Gives me a fatal error instead of asking the question again or using a default

Reviews 2

History 46

  1. Lina Wolf changed subject Argument #1 ($serverType) must be of type string, null given typo3 setup: Argument #1 ($serverType) must be of type string, null given 12/13/25, 03:01

  2. Lina Wolf commented 12/13/25, 03:13

    Same happens in TYPO3 13.4

  3. Gerrit Code Review pushed patch set 1 for main to change 92122 status New Under Review 12/13/25, 03:17

  4. Gerrit Code Review pushed patch set 1 for 13.4 to change 92163 12/18/25, 13:59

  5. Lina Wolf commented and changed status Under Review Resolved done 0 % 100 % 12/18/25, 14:45

    Applied in changeset commit:679397026ae79d71316671b0b00fd3acf663cf9f.

  6. Benni Mack changed status Resolved Closed 03/31/26, 08:59