Skip to content

Error Cannot access private property Error::$previous ( On every Exception page ) #27613

Closed
@juju95

Description

@juju95

Symfony version(s) affected: 4.1.0

Description
Error about $previous property as private requested by the exception Listener

How to reproduce
I have the error directly from a fresh install, each type of exception return this problem ( Page not found, route error, Cache error, every error is replaced with this Exception private property error

(1/1) ErrorCannot access private property Error::$previous
--
in ExceptionListener.php line 77
at ReflectionProperty->setValue(object(Error), object(CacheException))in ExceptionListener.php line 77
at ExceptionListener->onKernelException(object(GetResponseForExceptionEvent))in ExceptionListener.php line 41
at ExceptionListener->onKernelException(object(GetResponseForExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
at call_user_func(array(object(ExceptionListener), 'onKernelException'), object(GetResponseForExceptionEvent), 'kernel.exception',object(TraceableEventDispatcher))in WrappedListener.php line 104
at WrappedListener->__invoke(object(GetResponseForExceptionEvent), 'kernel.exception', object(EventDispatcher))in EventDispatcher.php line 212
at EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener),object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(GetResponseForExceptionEvent))in EventDispatcher.php line 44
at EventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent))in TraceableEventDispatcher.php line 141
at TraceableEventDispatcher->dispatch('kernel.exception', object(GetResponseForExceptionEvent))in HttpKernel.php line 219
at HttpKernel->handleException(object(CacheException), object(Request), 1)in HttpKernel.php line 77
at HttpKernel->handle(object(Request), 1, true)in Kernel.php line 188
at Kernel->handle(object(Request))in index.php line 37

Do i need to install a specific sub package ? ( still a little lost about the new packages function of symfo 4 to find what is required to install... sorry in advance if it is the problem here ... )

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