Skip to content

EntityManager - Cannot bind an instance to a static closure #33037

Closed
@stevro

Description

@stevro

Symfony version(s) affected: 4.4.*
PHP Version: PHP 7.3.7-2+ubuntu18.04.1

Description
PHP Warning: Cannot bind an instance to a static closure in /tmp/intima/cache/ContainerXozEiPa/EntityManager_9a5be93.php on line 317
!! PHP Fatal error: Uncaught Error: Call to a member function __invoke() on null in /tmp/intima/cache/ContainerXozEiPa/EntityManager_9a5be93.php:317
!! Stack trace:
!! #0 /tmp/intima/cache/ContainerXozEiPa/srcApp_KernelDevDebugContainer.php(399): EntityManager_9a5be93::staticProxyConstructor(Object(Closure))
!! #1 /tmp/intima/cache/ContainerXozEiPa/srcApp_KernelDevDebugContainer.php(235): ContainerXozEiPa\srcApp_KernelDevDebugContainer->ContainerXozEiPa{closure}()
!! #2 /tmp/intima/cache/ContainerXozEiPa/srcApp_KernelDevDebugContainer.php(400): ContainerXozEiPa\srcApp_KernelDevDebugContainer->createProxy('EntityManager_9...', Object(Closure))
!! #3 /tmp/intima/cache/ContainerXozEiPa/srcApp_KernelDevDebugContainer.php(2096): ContainerXozEiPa\srcApp_KernelDevDebugContainer->getDoctrine_Orm_DefaultEntityManagerService()
!! #4 /tmp/intima/cache/ContainerXozEiPa/getValidator_Mapping_CacheWarmerService.php(9): ContainerXozEiPa\srcApp_KernelDevDebugContainer->getValidator_BuilderService()
!! #5 /tmp/intima/cache/ContainerXozEiPa/srcApp_KernelDevDebugConta in /tmp/intima/cache/ContainerXozEiPa/EntityManager_9a5be93.php on line 317

How to reproduce
Update Symfony to latest version 4.4.*
Run cache:clear

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy