Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Runtime] Deprecation errors are displayed when cache is cold #60528

Closed
@bartosz-zasada

Description

@bartosz-zasada

Symfony version(s) affected

7.2.6

Description

When a deprecation error is raised while hitting any page, and the cache has just been cleared, the error is displayed directly on the screen, rather than just being logged. This may result in the red exception page with the "headers already sent" error if the page in question uses session.

How to reproduce

  1. Create a new Symfony project with the Symfony CLI tool using PHP version 8.4:symfony new --webapp my_project
  2. Install a package that triggers deprecation errors on PHP 8.4, for example winzou/state-machine-bundle:composer require winzou/state-machine-bundle:0.6.2
  3. Remove the cache and start the server:rm -rf var/cache/*,symfony serve

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp