• Resolved Merlin Silk

    (@merlinsilk)


    I got quite a bit further on my quest to maintain a mailing list on a WP site. As I want an email to be in that list only once I have a unique key on the column Email.
    And it works because I get an error when I try to add a record with an already existing email.
    But the message I get is: ERROR: Wrong arguments [missing primary key value]
    which is at least misleading.
    When I try to add the same record in phpmyadmin I get an error that tells me what went wrong – something like duplicate key.
    Is there a way to get better error messages for something like this?
    Cheers,
    Merlin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi Merlin,

    I am on a holiday and have no laptop with me. I will be back on tuesday and try to answer your question asap.

    Best regards,
    Peter

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi Merlin,

    Good point!!! I was able to reconstruct this issue. Thank you for bringing this up.

    I changed the behaviour of the form flow and must have missed this. I will need to do some reconstruction work here. I’ll inform you when this is done and get back to you for the basic tutorial question as well.

    Thank you Merlin!

    Best regards,
    Peter

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi Merlin,

    The error is fixed in release 2.5.2. Unfortunately I had to deploy release 2.5.1 yesterday as some users were having serious web site issues with it. I don’t think it’s a good idea to deploy 2.5.2 the next day, so I’ll wait a little and add some more fixes and features before I’ll put it online.

    If you like to use the new version directly, you can download it from bitbucket and install it from a zip. Just let me know if you need any help!

    Thanks again for bringing up this important issue!

    Best regards,
    Peter

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi Merlin,

    Just wanted to let you know that I released a new version yesterday in which the error of this forum topic is fixed. Thanks again for pointing out this issue!

    Best regards,
    Peter

    Thread Starter Merlin Silk

    (@merlinsilk)

    Perfect – works nicely now.
    Cheers,
    Merlin

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error message on duplicate key’ is closed to new replies.