Posted: September 7, 2017 at 12:24 pm
I am getting intermittent occurrences of a database error when my customers are trying to pay for their event registrations. Some payments process normally, some receive the error. I am running Version 4.9.45.p with WordPress 4.8.1 running Thesis theme. site is http://www.mdconstructionnet.net. The event registration page is https://www.mdconstructionnet.net/events/july-27-2017-direct-connect/. |
|
Hi Robert, May I ask do you the have the actual database error text? You can also check for an error code in Event Espresso > Payment Methods > Logs and if the error is related to a payment gateway response there may be an error response code. Also, can you check the site’s PHP error logs for errors when the payment(s) were made? |
|
Josh, I do not have the exact error as I have not been able to replicate it on my end. One of my customers said it was something along the lines of – A database error has occured. Enable WP_Debug for more information. Does that make any sense? Here is a link to a pdf from a payment methods log. I’m not sure if this is one that is in error or not. None of the transaction numbers match. As I said, only a couple of my customers have experienced this problem, but when they do, they cannot move forward even after repeated tries. |
|
You’ll need to enable WP_DEBUG to capture that error message and log it (but not display the errors on the website itself). You make the following edit to your site’s wp-config.php file to activate debug logging:
After you have the above edits in place, the next time an error is thrown the full error message will be logged to the /wp-content/debug.log file. |
|
Thanks Josh. It has been enabled. I’ll contact you again if/when I get some info. |
|
The support post ‘Database Error has occured’ 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.