I encountered the situation described here: #893682: DBLog errors with certain user entries. Apparently this happens when messages without links appear in the logs. In my case, the "toxic" messages were generated by textimage.

In function textimage_build_image in textimage.module, watchdog is used like this:

watchdog('textimage', $message, WATCHDOG_ERROR);

That's the old Drupal 5 way of calling it. In D6 and D7 it should be something like this:

watchdog('textimage', $message, array(), WATCHDOG_ERROR);
CommentFileSizeAuthor
textimage-watchdog.patch994 bytesSeanA

Comments

SeanA’s picture

To duplicate this bug, make a textimage call containing a preset that doesn't exist. This will generate a watchdog entry and the problem (php warnings) will show up in the logs on pages where the textimage log entry appears.

print theme('textimage_image', 'nonexistent', $text, array(), 'png', $text, $text);

wundo’s picture

Status: Needs review » Fixed

Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.