LogicException: The controller result claims to be providing relevant cache metadata, but leaked metadata was detected

Created on 10 March 2020, almost 5 years ago
Updated 13 August 2024, 4 months ago

Module has been enabled, settings are fine.

Drupal core version is 8.8.2 and on /robots.txt I get the following:

"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\Cache\CacheableResponse. in Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (line 154 of /app/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php)."

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡·πŸ‡ΈSerbia Vladimir Tanovic

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024