Support Forum

Subscription email notification not working

CF Conrad_Farlow
Conrad_Farlow
Member

Hi

It would appear that the subscription notification emails have ceased to function for me. PM email notifications are working fine.

The subscriptions plug in is showing when there are new posts in subscribed topics, it’s just not sending out the emails.

The subscription plug in was functioning after I upgraded from 4.5.1 to 5.0.3 on the 3rd April, it seems to have stopped around the 5th perhaps after an upgrade?

There are the following errors in the error log if these help?

file: rbelfi/public_html/wp-content/sp-resources/forum-plugins/subscriptions/library/sp-subscriptions-components.php
line: 321
function: sp_subscriptions_render_user_subscriptions
Notice | Trying to get property of non-object

37 Answers

New Answer

MP Mr Papa
Mr Papa
Member

that notice is unrelated…  and I dont think we have touched that…  checking email logs looks like some subscriptions emails have been going out here…  are you subscribed to any topics here and gotten any notices? or just on your site?

CF Conrad_Farlow
Conrad_Farlow
Member

They seem to be OK on here Steve. Just my site and they were working when I first upgraded. Seems odd that the PM notifications are working and the subscriptions aren’t.

MP Mr Papa
Mr Papa
Member

yes. since both use the wp email system, its not the issue…  and they both go through same sp routine..

was that the only error in the toolbox error log?

are you getting reports of this or seeing it yourself?  just asking because curious if on forum – users – subscriptions that you still have some subscriptions (ie something didnt happen to cause them to get lost)….

CF Conrad_Farlow
Conrad_Farlow
Member

They are the latest errors in the error log. I have tried emptying my subscriptions list and then re-subscribing to no avail. I have also tried to deactivate and reactivate the plug in. Definitely something of a mystery!

CF Conrad_Farlow
Conrad_Farlow
Member

I still can’t get this working, is there a database flag that I can check for my account. As far as I know I have all the options set correctly.

What could stop this from working?

Conrad

YS Yellow Swordfish
Yellow Swordfish
Member

WordPress email can be very flaky. Most people have success when they install the HGK SMTP plugin – we use it here for that very reason.

or maybe something up with your mail server?

The only recent change in this area has strictly been with admin email notifications and these seem to be working fine. No changes to subscriptions for a while now.

And no – there is no ‘database flag’. Unless you have inadvertently turned off the permissions for your users although then they wouldn’t see the subscribe button.

CF Conrad_Farlow
Conrad_Farlow
Member

Ah well I am an admin, let me test it for a normal user and get back to you.

CF Conrad_Farlow
Conrad_Farlow
Member

I added the GTL SMTP plug in, test mails to the intended address work fine, PM notifications fine, adding a new member email fine. Subscriptions plug in no email notification for admin or ordinary member. So my plug in works just like the watch plug in 🙂

Conrad

CF Conrad_Farlow
Conrad_Farlow
Member

Yes sorry, wow I really was tired, cos not even a wee drop had passed my lips. That was some typo that one. cool

CF Conrad_Farlow
Conrad_Farlow
Member

I have made absolutely no progress with this at all. What do you suggest that I do? I am sure that the SMTP plug-in is functioning correctly. Also PM notification is working.

Do you have any suggestions as to what this could be? Some users like the facility.

Conrad

MP Mr Papa
Mr Papa
Member

only suggestion would be to debug…  afraid we have no other reports of this…  edit the plugin and put a die(‘got here’); or something in the email notification routine and see if its getting there…  if so, work on down to the sp routine and finally the wp routine…

MP Mr Papa
Mr Papa
Member

Conrad, how are you creating these posts? from within the topic or from the admin bar?

and just to be sure, you are using a different user for the subscription or post, right?  subscription emails are not sent to the post creator even if they are subscribed…

CF Conrad_Farlow
Conrad_Farlow
Member

Yes I have 2 test members one has an admin status and the other is a normal member with standard access. Both have permissions to subscribe and I have tried it both ways round.

The PM email notification works fine. However I have just turned on ‘Receive email notification on new topic/post’ in my admin settings and that does not appear to work either. How weird that the PM emails work and the others don’t.

If I add the debug code where/problem-with-post-edit-buttonow would I be able to read the output?

Conrad