PHP Fatal error during installation: Declaration of Symfony\Component\Console\Style\OutputStyle::write must be compatible with Symfony\Component\Console\Output\OutputInterface::write

Created on 2 January 2024, 11 months ago
Updated 3 January 2024, 11 months ago

Problem/Motivation

trying to fresh install following documentation

Steps to reproduce

composer create-project goalgorilla/social_template:dev-master DIRECTORY --no-interaction

drush -y site-install social --db-url=mysql://root:root@db:3306/social

throws drush error :

PHP Fatal error:  Declaration of Symfony\Component\Console\Style\OutputStyle::write(Traversable|array|string $messages, bool $newline = false, int $type = self::OUTPUT_NORMAL) must be compatible with Symfony\Component\Console\Output\OutputInterface::write($messages, bool $newline = false, int $options = 0) in /drupal_fresh/vendor/symfony/console/Style/OutputStyle.php on line 49
💬 Support request
Status

Postponed: needs info

Version

12.0

Component

Code (back-end)

Created by

🇪🇸Spain rol

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @rol
  • Status changed to Postponed: needs info 11 months ago
  • 🇳🇱Netherlands kingdutch

    The error you listed is fully contained within the Symfony project and is not a part of Open Social. Please note that Open Social 12; Drupal 10 and Symfony 6 all require PHP 8.1 as minimum PHP version. The error you provided is likely caused by an unsupported PHP version.

    Please provide the PHP version you're using to try and install Open Social.

Production build 0.71.5 2024