Skip to content

Update to 4.2.7 - Fatal error: Interface 'TranslatorInterface' not found  #31152

Closed
@camya

Description

@camya

Symfony version(s) affected: 4.2.7

Description
After my composer update from 4.2.6 to 4.2.7 I get the following fatal error.

Fatal error: Interface 'Symfony\Component\Translation\TranslatorInterface' not found 
in testarea_symfony_api\vendor\symfony\validator\Util\LegacyTranslatorProxy.php
 on line 21

In LegacyTranslatorProxy.php line 21:

  Attempted to load interface "TranslatorInterface" from namespace "Symfony\Component\Translation".
  Did you forget a "use" statement for "Symfony\Contracts\Translation\TranslatorInterface"?

How to reproduce

Upgrade from 4.2.6 to 4.2.7 via composer update.

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