Skip to content

Conversation

@valtzu
Copy link
Contributor

@valtzu valtzu commented Jul 20, 2025

Q A
Bug fix? yes
New feature? no
Docs? no
License MIT

Fix the following issue in Symfony AI profiler view which appears when using blog demo which has a clock tool returning a DatePoint instance:

An exception has been thrown during the rendering of a template ("nl2br(): Argument #1 ($string) must be of type string, Symfony\Component\Clock\DatePoint given") in @AI/data_collector.html.twig at line 242

@chr-hertel chr-hertel added the AI Bundle Issues & PRs about the AI integration bundle label Jul 20, 2025
Copy link
Member

@chr-hertel chr-hertel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works 👍

@chr-hertel
Copy link
Member

Thank you @valtzu.

@chr-hertel chr-hertel merged commit 580ff6d into symfony:main Jul 20, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Bundle Issues & PRs about the AI integration bundle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants