Hi,
every time when I'm creating a new newsletter the following errors are shown:

Notice: Undefined index: body in simplenews_realname_form_alter() (Zeile 178 von /simplenews_realname/simplenews_realname.module).
Notice: Undefined index: und in simplenews_realname_form_alter() (Zeile 178 von /simplenews_realname/simplenews_realname.module).
Notice: Undefined offset: 0 in simplenews_realname_form_alter() (Zeile 178 von /simplenews_realname/simplenews_realname.module).
Notice: Undefined index: #description in simplenews_realname_form_alter() (Zeile 178 von /simplenews_realname/simplenews_realname.module).

What can I do?

Comments

quixxel’s picture

Title: Some errors on simplenews draft » Some errors
quixxel’s picture

Issue summary: View changes
dragon658’s picture

Subscribe

EDIT: I have replaced

$form['body'][$form['#entity']->language][0]['#description'] .= ' ' . t('The <strong>Simplenews RealName</strong> module is enabled, so you may use !subscriber_name (the real name of the subscriber) in your newsletters.');

with

$form['body']['und'][0]['#description'] .= ' ' . t('The <strong>Simplenews RealName</strong> module is enabled, so you may use !subscriber_name (the real name of the subscriber) in your newsletters.');

and the problem was solved for me.