I get the following PHP warning in my logs when sending messages on Drupal 6:

Warning: Creating default object from empty value in Messaging_Message->process() (line 301 of includes/messaging_message.class.inc).

The problem is that line is setting $message->sent = time() however there is no $message object. The object should be $this.

Simple one line patch to follow.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jwilson3 created an issue. See original summary.

jwilson3’s picture

Status: Active » Needs review
FileSize
542 bytes
joelpittet’s picture

Status: Needs review » Reviewed & tested by the community

Thanks @jwilson3, errors be gone