Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Notify 0.2 problem

edited March 2007 in Vanilla 1.0 Help
Hi folks,

I've installed Notify 0.2 and I'm having a problem. I recieve notification emails, but when I click the link in the email it takes me to my boards and spits out the following errors:

Notice: Trying to get property of non-object in /home/openshop/domains/ on line 71

Notice: Trying to get property of non-object in /home/openshop/domains/ on line 71

Notice: Trying to get property of non-object in /home/openshop/domains/ on line 42
I think the problem is that I am not logged in. If I log in and then go back to the email and click the link it seems to work fine, but that's not OK because I would say 99% of my users will be confused by this.

Is there any way to have it ask for a login if a user isn't logged in, and then be taken to the appropriate message?

Thanks for your help,


  • Options
    I found a typo after downloading Notify 0.2 from the Add-ons section. I don't know if it has anything to do with the problem mentioned above. Default.php Line 152: $Whipsered = 0; I believe it should be: $Whispered = 0;
  • Options
    My version of Notify doesn't have that.
  • Options
    My version of Notify was downloaded yesterday, and it did have that typo in it. I just fixed it and reuploaded the file to the server.

    I'm getting a different error that needs resolving:

    PHP Notice: Undefined variable: test in /home/username/public_html/domain/tickets/extensions/Notify/default.php on line 200

    Line 200 is:
    $e->Body = str_replace(array("{forum_name}","{topic_url}"),array($DiscussionForm->Context->Configuration['APPLICATION_TITLE'],ConcatenatePath($DiscussionForm->Context->Configuration['BASE_URL'].'comments.php?DiscussionID='.$DiscussionID,'')),$EmailBody).$test;

    Any ideas on a fix for this?
  • Options
    dhdesign -- I'm seeing the same exact error you are. When I try submit a post I get an error regarding the Notify extension. Did you ever find a fix or solutopm to this?
  • Options
    FYI, I think I have the answer to this now, at least for how it pertained to my situation. If your vanilla forum can't reach your mailservers and you have the Notify extension installed, you'll get a mailserver error as well as this: PHP Notice: Undefined variable: test in /home/username/public_html/domain/tickets/extensions/Notify/default.php on line 200 Once Vanilla can reach your mailservers, the Undefined variable error goes away as well. So lesson learned is don't waste time chasing down that error before verifying that the mail functionality is working as expected. Hope this info is helpful to some.
This discussion has been closed.