Failed to start the session because headers have already been sent

Created on 22 July 2024, 5 months ago

Failed to start the session because headers have already been sent by "/var/www/html/vendor/symfony/http-foundation/Response.php" at line 426.

🐛 Bug report
Status

Needs work

Version

1.1

Component

Code

Created by

🇲🇩Moldova nick.murza Moldova

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

Comments & Activities

  • Issue created by @nick.murza
  • Issue was unassigned.
  • Status changed to Needs review 5 months ago
  • Assigned to nick.murza
  • Status changed to RTBC 5 months ago
  • 🇲🇩Moldova andrei.vesterli Chisinau

    Hey @nick.murza

    Looks like a workable solution. Can you please prepare an MR for that?

  • 🇲🇩Moldova nick.murza Moldova

    update for the patch, the drush throw error:

    TypeError: strtr(): Argument #1 ($string) must be of type string, Drupal\Core\StringTranslation\TranslatableMarkup given in /builds/php-team/project_mikrokapital_drupal10/vendor/drush/drush/src/Log/DrushLog.php on line 78 #0 /builds/php-team/project_mikrokapital_drupal10/vendor/drush/drush/src/Log/DrushLog.php(78): strtr()
    #1 /builds/php-team/project_mikrokapital_drupal10/web/core/lib/Drupal/Core/Logger/LoggerChannel.php(127): Drush\Log\DrushLog->log()
    #2 /builds/php-team/project_mikrokapital_drupal10/vendor/psr/log/src/LoggerTrait.php(86): Drupal\Core\Logger\LoggerChannel->log()
    #3 /builds/php-team/project_mikrokapital_drupal10/web/modules/contrib/elogger/elogger.module(80): Drupal\Core\Logger\LoggerChannel->warning()
    #4 /builds/php-team/project_mikrokapital_drupal10/web/modules/contrib/elogger/elogger.module(51): _log_entity_event()
    #5 [internal function]: elogger_entity_update()

    the TranslatableMarkup is deleted from the logic.

  • Status changed to Fixed 24 days ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024