Error when submitting "existing" email address (500 error!)

Discussion in 'General discussions' started by eggerda, Aug 22, 2019.

  1. eggerda

    eggerda New Member

    Joined:
    Feb 9, 2019
    Messages:
    22
    Likes Received:
    0
    S.E:
    2020-02-09 05:21:21
    L.T:
    Regular
    L.C:
    1
    Hello, many of our customers will subscribe to a list multiple times. Because of the volume we do, it's really important they are redirected to the "Sub. exists redirect" value in the list settings.

    I'm testing this, and I always get a 500 error page from MailWiz, and this text:

    Error 500!
    Trying to get property 'customer_uid' of non-object

    The expected behavior is that - since the email address is already subscribed to the list, mailwizz will redirect the subscriber to the "Sub. exists redirect" in the form settings. We have it setup like this:

    https://www.mydomain.com/session.php?opt=y&p=[RESULTSLINKURL]&name=[FNAME]

    This is happening on the same exact form the customer had just submitted.

    It looks like this:

    Code:
    <form name="form1" id="form1" method="post" action="https://wiz.mydomain.com/index.php/lists/cf664mkhs3a77/subscribe" onsubmit="return aweberformcheck1();">
    <input id="FNAME" style="" type="hidden" name="FNAME" value="Dan" />
    <input id="RESULTSLINK" type="hidden" name="RESULTSLINK" value="test/report.php?b=12&p=yes&s=1&a=other&f=yes&dr=yes&t=" />
    <input id="INTEREST" type="hidden" name="INTEREST" value="other" />
    <input id="ASTROLOGYSIGN" type="hidden" name="SIGN" value="12" />
    <input id="RESULTSLINKURL" type="hidden" name="RESULTSLINKURL" value="test/t-report.php?b=12&p=yes&s=1&a=other&f=yes&dr=yes&t=" />
    <center>
    <p> </p>
    <div style="width:500px; margin-left:auto; margin-right:auto; text-align:center">
    <label for="text">Your Best Email Address:</label>
    <input id="EMAIL" style="" type="text" name="EMAIL" value="" />
    <br />
    <br />
    </div>
    <br>
    <input name="yt0" type="submit" class="submit" id="button" value="Continue" />
    
    </form>
    Any help would be greatly appreciated! Thank you!
     
  2. twisted1919

    twisted1919 Administrator Staff Member

    Joined:
    Dec 27, 2014
    Messages:
    10,286
    Likes Received:
    2,389
    can you enable debug as shown at https://kb.mailwizz.com/articles/enable-debugging/ and then run this again? This time you'll get a stack trace of the issue which can help us understand what is going on
     
  3. eggerda

    eggerda New Member

    Joined:
    Feb 9, 2019
    Messages:
    22
    Likes Received:
    0
    S.E:
    2020-02-09 05:21:21
    L.T:
    Regular
    L.C:
    1

Share This Page