I am able to get this to send an email when the user is subscribed to a content type, but when I create a node that is supposed to trigger an email to a user who is subscribed to a taxonomy, instead of it sending an email I get this error for each taxonomy term that is attached to a subscriber:

Notice: Trying to get property of non-object in _subscriptions_taxonomy_node_options() (line 105 of /Applications/MAMP/htdocs/multisite/html/sites/mysite.com/modules/subscriptions/subscriptions_taxonomy.module).

Any thoughts? Thanks!

Comments

gettysburger’s picture

Title: Error when tryint to send notification on taxonomy » Error when trying to send notification on taxonomy
salvis’s picture

Please update to the current -dev version and try again.

gettysburger’s picture

I tried that and got the same error. I think I figured it out, though. I was using an entity reference. I tried the same taxonomy with a term reference and it worked.

I would appreciate it if it could be confirmed that I need to use a term reference and not an entity reference. Thanks.

salvis’s picture

Title: Error when trying to send notification on taxonomy » Error when trying to send notification on term entity reference

Thank you for the update, and sorry for the delay.

Yes, subscriptions_taxonomy.module is designed to work with term references. I'm not sure what it would take to make it work with entity references, and what the user interface would have to be...

salvis’s picture

Status: Active » Closed (outdated)