500 Error on Saving Edit Changes to Members Details When Member Type is Changed

When trying to edit/modify an existing member’s details, if the Member Type is changed from it’s stored value on clicking the Save button, an http error 500 is returned. I also note that there are no parameters shown in the URL e.g. https://[domain]/adherents/card.php instead of something like https://[domain]/adherents/card.php?rowid=207&action=edit&token=0a751c79718b1da6b8ad8cda43b670c3 or https://[domain]/adherents/card.php?id=207

If you click back on the browser it returns to the edit/modify member details page. If you then change the member type back to the original store value you are able to save successfully.

I’ve tested this in Firefox and Chrome and get the same result.

Our members types are based on age so we need to be able to move the member from one member type to another.

Any guidance on how to fix would be greatly appreciated.

Hello,

Error 500 means PHP error => What does your hosting logs says ?

Hi thanks for helping. That’s the problem nothing is making it into the log file, even with changing the php logging level. I’ve raised a ticket with the hosting company, hopefully they they can resolve that to I can see what’s breaking.

Unfortunely I can’t confirm if this is unique to my instance or the same on other v19 instances as all the test sites I’ve seen are less than v19.

After lots of testing and switching modules on and off. This issue is related to the Mailman and SPIP module. If I switch this module off it all works correctly. For now I’ll do away with the Mailman mail list.

Looks like this has been an issue before BUG: Adherent and MailmanSpip · Issue #10551 · Dolibarr/dolibarr · GitHub