The "Symfony\Component\Process\Process::inheritEnvironmentVariables()" method is deprecated since Symfony 4.4, env variables are always inherited.

Created on 3 January 2023, almost 2 years ago
Updated 16 June 2023, over 1 year ago

Problem/Motivation

Getting below error on Drupal 9.5 version
The "Symfony\Component\Process\Process::inheritEnvironmentVariables()" method is deprecated since Symfony 4.4, env variables are always inherited.
Attached Parent issue which is fixed but still facing same issue on 9.X version.

Steps to reproduce

no steps to reproduce it. it trigger any time.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

💬 Support request
Status

Closed: outdated

Version

9.5

Component
Other 

Last updated 1 day ago

Created by

🇮🇳India Chetanac

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States banoodle San Francisco, CA

    We are seeing this on a 9.5.2 site with Drush version: 10.6.2

    It's weird though because we have other sites with same versions and on same hosting platform that don't get this error.

    In our case, I think the errors are triggered by Pantheon web hooks that run drush updb, cim and cr (and maybe when cron runs). I see them on the Pantheon dashboard. I never see the error in my local copy of the site.

  • 🇬🇧United Kingdom noopal

    Hi.

    I have been seeing this since updating to Drupal ^ 9.5 on Pantheon, PHP 8.1.
    Did not have on Drupal 9.4.x.

  • 🇬🇧United Kingdom longwave UK

    Both recent reports mention Pantheon; can either of you raise this as a support request with them? I am still not sure there is anything to fix here in Drupal core.

  • Hey there!

    Just wondering, are you using a site-local version of Drush? If so, you should try upgrading. If you are using Drush 8, upgrade to the latest Drush 8. Else if you are using Drush 9, 10 or 11, upgrade to the latest Drush 11. I hope this works.

  • 🇺🇸United States mbenfield

    According to pantheon, it is indeed an issue with older versions of drush being incompatible. Drupal 9.5 requires drush 11.

  • Status changed to Closed: outdated over 1 year ago
  • I am closing this as there have been no replies.

Production build 0.71.5 2024