Hello,
I am writing on behalf of Rosemary Cloran, account owner, to get some help resolving an error with our EE plugin. I help with tech stuff. I am pasting the error details we received below my signature.
I confirmed with staff today that they got an error screen (There has been a critical error…) when they attempted to process a refund for a registration when the box to send a msg to the registrant was NOT checked. After the error screen, they went back to the dashboard and processed the refund again and checked the box to send a msg and the refund went through fine.
Can you help us figure out what the error details below mean and how to fix the problem?
APPLICATIONS INFO: EE core 5.0.10, WP 6.3.1, PHP 8.2
NOTE: We recently upgraded WP and PHP and our site theme.
Tools -> Site Health -> Troubleshooting -> Enabled Troubleshooting mode.
That will disable all plugins and switch to a default theme and then allow you to enable specific plugins for troubleshooting. Once disabled you will revert back to the current state.
May we also know if you had refund before? was it successful? Do you also remember if there was custom code you used for EE?
I have created a ticket for use to investigate this further and see if we can strip out any additional characters from the field but the above should work in the meantime.
Thank you so much. I now understand that the “$” is causing the error (thanks for helping extract that from all that code).
I have advised the staff to not include “$”. So we will test again with and without “$” to confirm.
Obviously, it would be great if the EE code stripped extra characters or at least validated entries with a warning that only numbers were accepted before causing a “critical error”. But at least it seems that our data entry behaviors can prevent the issue. Thanks.
Obviously, it would be great if the EE code stripped extra characters or at least validated entries with a warning that only numbers were accepted before causing a “critical error”.
Whilst I agree, to explain a little…. as of PHP8, the abs() function will now throw a fatal if passed a tpe num doe not support, so the current code in EE has worked for a long time but now fatals due to a PHP change.
But… we’ll see what we can do here to prevent this in a future update 🙂
Viewing 4 reply threads
The support post ‘Error with payment transaction – refund’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.