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.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | messaging-creating-default-object-2645234-2-D6.patch | 542 bytes | jwilson3 |
Comments
Comment #2
jwilson3Comment #3
joelpittetThanks @jwilson3, errors be gone