Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The Log module provides an input filter that will search for instances of [log:X] (where X is a log ID), and use that to generate an inline link to the reference log.
However, the code that generates the link performs a full log_load(). So, if you have two logs that reference each other with [log:X] links, it creates an infinite loop and crashes Drupal.
The solution: don't use log_load() in log_filter_log().
Comments
Comment #3
m.stentaFixed. I removed the call to log_load() and simply load the log name from the database directly.
It's not great because it bypasses the API, but I couldn't get it to work with log_load(). I even tried replicating the way that the project_issue module does it, to no avail.