Closed (fixed)
Project:
FreeAgent API
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2021 at 12:54 UTC
Updated:
2 May 2021 at 10:15 UTC
Jump to comment: Most recent
When authorising the site against FreeAgent, I got as far as logging into FreeAgent, entering my 2FA and then when returned to the site I got "The website encountered an expected error" message.
In the logs, I found this error
LogicException: The controller result claims to be providing relevant cache metadata, but leaked metadata was detected. Please ensure you are not rendering content too early. Returned object class: Drupal\Core\Routing\TrustedRedirectResponse. in Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (line 154 of /app/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php).
Comments
Comment #4
stella commentedFixed