Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hi I've created a module with a controller but now i'm getting this message;
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\CacheableJsonResponse. in Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (line 154 of core\lib\Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber.php).
When the first wave of the coronavirus hit, it became clear that there is a chance that patients will develop (long-term) symptoms after infection. Because it was a novel virus, often these patients did not receive the specialist care and guidance they needed. In the initial phase doctors simply did not know enough about the long-term consequences of a corona infection.