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.

All other Modules /

Discuss all other Modules here.

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

Newsletter module with Silverstripe 3.1 - can't create newsletter


Reply


3 Posts   306 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.