Skip to content

Conversation

@soyuka
Copy link
Member

@soyuka soyuka commented Mar 27, 2025

Q A
Branch? 4.1
License MIT

Revamps the api platform profiler:

20250327_16h40m44s_grim

@soyuka soyuka force-pushed the fix/data-collector branch 3 times, most recently from 08cc70b to fb2850d Compare March 28, 2025 08:43
@soyuka soyuka force-pushed the fix/data-collector branch from fb2850d to e654a7d Compare March 28, 2025 09:08
@soyuka soyuka merged commit a46a768 into api-platform:4.1 Mar 28, 2025
77 of 78 checks passed
@soyuka soyuka deleted the fix/data-collector branch March 28, 2025 09:08
@axzx
Copy link

axzx commented Mar 29, 2025

@soyuka
after update, I have an error

Neither the property "version" nor one of the methods "version()", "getversion()"/"isversion()"/"hasversion()" or "__call()" exist and have public access in class "ApiPlatform\Symfony\Bundle\DataCollector\RequestDataCollector".

Symfony 7.2

@soyuka
Copy link
Member Author

soyuka commented Mar 30, 2025

Stack trace ? Re-run bin/console assets:install ?

@axzx
Copy link

axzx commented Mar 30, 2025

Stack trace ? Re-run bin/console assets:install ?

Twig\Error\RuntimeError {#1447
  -lineno: 86
  -name: "@ApiPlatform/DataCollector/request.html.twig"
  -rawMessage: "Neither the property "version" nor one of the methods "version()", "getversion()"/"isversion()"/"hasversion()" or "__call()" exist and have public access in class "ApiPlatform\Symfony\Bundle\DataCollector\RequestDataCollector"."
  -sourcePath: "/app/vendor/api-platform/symfony/Bundle/Resources/views/DataCollector/request.html.twig"
  -sourceCode: """
    {% extends '@WebProfiler/Profiler/layout.html.twig' %}
    """
}

Zrzut ekranu z 2025-03-30 19-33-46

@axzx
Copy link

axzx commented Mar 30, 2025

oh, sorry
rm -rf var/cache/dev solved this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants