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

Appearance settings

Web Profiler inconsistent error - Undefined array key 4 #50942

Copy link
Copy link
Closed
@radar3301

Description

@radar3301
Issue body actions

Symfony version(s) affected

6.3.1

Description

Very occassionally, when navigating '/logout' (302 redirect) '/' (302 redirect) '/login, I get the following errors:

ErrorException:
Warning: Undefined array key 4

  at symfony\http-kernel\Profiler\FileProfilerStorage.php:312
  at Symfony\Component\HttpKernel\Profiler\FileProfilerStorage->removeExpiredProfiles()
  at Symfony\Component\HttpKernel\Profiler\FileProfilerStorage->write()
  at Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile()
  at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelTerminate()
``` and ```
BadMethodCallException:
Symfony\Component\VarDumper\Cloner\Data objects are immutable.

in symfony\var-dumper\Cloner\Data.php (line 152)
Data->offsetSet() in symfony\http-kernel\DataCollector\EventDataCollector.php (line 92)
EventDataCollector->setCalledListeners() in symfony\http-kernel\DataCollector\EventDataCollector.php (line 74)
EventDataCollector->lateCollect() in symfony\http-kernel\Profiler\Profiler.php (line 100)
Profiler->saveProfile() in symfony\http-kernel\EventListener\ProfilerListener.php (line 135)
ProfilerListener->onKernelTerminate() in symfony\event-dispatcher\Debug\WrappedListener.php (line 116)
WrappedListener->__invoke() in symfony\event-dispatcher\EventDispatcher.php (line 220)

The interesting thing (maybe?) is that '/login' returns HTTP 200, but it looks like the AJAX request is failing? But I don't have any entries in the developer console for any ajax requests... And yet the page output looks like this:
image

How to reproduce

No idea how to reproduce, as it's inconsistent. I'm assuming it's a delay with the file system, maybe? I don't know.

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.