Mollom sometimes checks fields of content that has no fields, generating a PHP warning that can litter watchdog logs. Apply the attached patch to fix.

CommentFileSizeAuthor
mollom-no_fields.patch858 bytesJohn Franklin
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch mollom-no_fields.patch. Unable to apply patch. See the log in the details link for more information. View
Members fund testing for the Drupal project. Drupal Association Learn more

Comments

John Franklin’s picture

Status: Needs work » Needs review

Applies to both 1.16 and 2.1

Version: 6.x-2.1 » 6.x-1.16
Status: Needs review » Needs work

The last submitted patch, mollom-no_fields.patch, failed testing.

sun’s picture

Status: Needs review » Closed (duplicate)

Sorry for the late reply.

Apparently, this appears to be a duplicate of #804466: Orphan forms of other modules cause errors on administration page

I essentially created a very similar patch there, but the actual problem is that Mollom module is not notified when a content type is deleted. We'll have to figure this out over there. :)