Hello;
Only the sending of test newsletters is possible; following error message is show

Notice: Undefined property: stdClass::$simplenews in simplenews_node_tab_send_form() (Zeile 3229 von /var/www/*****/html/dkd/sites/all/modules/simplenews/simplenews.module).
Notice: Trying to get property of non-object in simplenews_node_tab_send_form() (Zeile 3229 von /var/www/*****/html/dkd/sites/all/modules/simplenews/simplenews.module).

Is there a tip to the source of error?
With greetings
w.g.

p.s.
(necessary) code update accordingly drupal.org/files/issues/1038248_simplenews.module.patch carried out

CommentFileSizeAuthor
#6 simplenews_1056348_notice.patch616 bytessimon georges

Comments

simon georges’s picture

@efarg, did you have the last version of the module ? Do you still have the problem ?

simon georges’s picture

Status: Active » Postponed (maintainer needs more info)
einzelkind’s picture

I have got the same issue with the latest version (2011-Mar-25).

    * Notice: Undefined property: stdClass::$simplenews in simplenews_node_tab_send_form() (Zeile 3190 von /home/httpd/vhosts/***/httpdocs/drupal/sites/all/modules/simplenews/simplenews.module).
    * Notice: Trying to get property of non-object in simplenews_node_tab_send_form() (Zeile 3190 von /home/httpd/vhosts/***/httpdocs/drupal/sites/all/modules/simplenews/simplenews.module).
    * Notice: Undefined property: stdClass::$simplenews in simplenews_send_node() (Zeile 33 von /home/httpd/vhosts/***/httpdocs/drupal/sites/all/modules/simplenews/includes/simplenews.mail.inc).
    * Notice: Trying to get property of non-object in simplenews_send_node() (Zeile 33 von /home/httpd/vhosts/***/httpdocs/drupal/sites/all/modules/simplenews/includes/simplenews.mail.inc).
    * Notice: Undefined property: stdClass::$simplenews in simplenews_send_node() (Zeile 37 von /home/httpd/vhosts/***/httpdocs/drupal/sites/all/modules/simplenews/includes/simplenews.mail.inc).
    * Notice: Trying to get property of non-object in simplenews_send_node() (Zeile 37 von /home/httpd/vhosts/***/httpdocs/drupal/sites/all/modules/simplenews/includes/simplenews.mail.inc).
    * Notice: Undefined property: stdClass::$simplenews in simplenews_node_tab_send_form() (Zeile 3190 von /home/httpd/vhosts/***/httpdocs/drupal/sites/all/modules/simplenews/simplenews.module).
    * Notice: Trying to get property of non-object in simplenews_node_tab_send_form() (Zeile 3190 von /home/httpd/vhosts/***/httpdocs/drupal/sites/all/modules/simplenews/simplenews.module).

Please ask for further information. I will be happy to help.

cheers Heiko

simon georges’s picture

Status: Postponed (maintainer needs more info) » Active
einzelkind’s picture

It seems like versioning causes this problem.

I saved a new version of my newsletter node and when I clicked on the newsletter tab afterwards these notices are displayed.

simon georges’s picture

Status: Active » Needs review
StatusFileSize
new616 bytes

@einzelkind, revision handling is broken in Simplenews.

@efarg, can you try the provided patch ? It should remove the notice message.

simon georges’s picture

Status: Needs review » Fixed

The patch above has been committed.

Status: Fixed » Closed (fixed)

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