Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Newsletter module with Silverstripe 3.1 - can't create newsletter


Go to End


3 Posts   1643 Views

Avatar
Sewer

Community Member, 9 Posts

30 April 2014 at 10:19pm

Hi all,

I installed newsletter module and it seems to work, but I got following error when I try to create new newsletter:

PHP Fatal error: Call to a member function setTitle() on a non-object in /home/sewer/projects/zmiennicy/silverstripe/newsletter/code/form/gridfield/NewsletterGridFieldDetailForm.php on line 23, referer: http://host4.office.crystalvision.pl/Security/login?BackURL=%2Fadmin%2Fnewsletter%2FNewsletter%2FEditForm%2Ffield%2FNewsletter%2Fitem%2Fnew

Anyone else experieced this, and maybe have solution for this?

Avatar
elgordo

Community Member, 70 Posts

3 May 2014 at 5:28pm

The same issue is recorded as an unsolved bug here, https://github.com/silverstripe-labs/silverstripe-newsletter/issues/58 - it mentions that the gridfield better buttons module might be the issue. Currently investigating as I have the same problem I need to resolve.

Avatar
Sewer

Community Member, 9 Posts

5 May 2014 at 10:48pm

Thanks, it looks like gridfield better buttons module was issue. Renaming action from save to doSave fixed it, and now it is possible to create new newsletter, although, I don't know if there are other issues.