Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get Newsletter Add-on working #125

Open
Allegro145 opened this issue Aug 10, 2018 · 7 comments
Open

Can't get Newsletter Add-on working #125

Allegro145 opened this issue Aug 10, 2018 · 7 comments

Comments

@Allegro145
Copy link

Just installed this module but can't get it working.

Click Send Test Email button but never received actually received one;
Click Send Email button but none was sent out. All letter with 'Sending' status;
Click Save as New button, I have the following error:
PHP Deprecated: DataObject::set_validation_enabled is deprecated. Use the "DataObject.validation_enabled" config setting instead. Called from NewsletterGridFieldDetailForm_ItemRequest->doSaveAsNew. in /Applications/MAMP/htdocs/project/framework/dev/Deprecation.php on line 212

Can someone let me know how did you get this module work?
Many thanks.

@Allegro145 Allegro145 changed the title Not receiving test email, Email status stays Sending only & Error when Save as New Can get Newsletter Add-on working Aug 12, 2018
@Allegro145 Allegro145 changed the title Can get Newsletter Add-on working Can't get Newsletter Add-on working Aug 12, 2018
@wilr
Copy link
Member

wilr commented Aug 12, 2018

@Allegro145 please provide your SilverStripe version number.

@Allegro145
Copy link
Author

@wilr Thanks for replying. I have errors in SilverStripe 3.6.0 and 3.7.1

@Allegro145
Copy link
Author

Hello there, Could someone please suggest which version of this Newsletter Add-on would work with SilverStripe 3.6.0, SilverStripe 3.7.1 or any other SilverStripe version? Or suggest how could I fix/avoid above errors?
I have installed dev-master (via Composer) version in both SilverStripe 3.6.0 and 3.7.1. I have errors in both tjese versions. Does this add-on has a stable version for SilverStripe 4.2.1?
Appreciate it very much if someone could please point me a right direction from here.

@Allegro145
Copy link
Author

I guess following is where the code (deprecated) need to be changed but I am not too sure what/how it should be changed to? Newsletter::set_validation_enabled(false)

@dhensby
Copy link
Contributor

dhensby commented Aug 20, 2018

@Allegro145 deprecation warnings are fine; just turn them off if they are being written to the screen and stopping you progressing.

@Allegro145
Copy link
Author

@dhensby Thanks. It's a good way out even though I am not to sure how to turn the warnings off. I am finding difficult to follow/debug the newsletter modules/codes/programs...Finally managed gone pass the deprecated error (not by turning off warnings) and now struggling with the problems of it doesn't send out test emails and actual newsletters.... Any hints here??

@dhensby
Copy link
Contributor

dhensby commented Aug 21, 2018

@Allegro145 afraid I can't be of much help as this it's been a very long time since I've used the module.

@wilr might know some more?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants