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:
// Edit the following to enable WP_DEBUG mode (set false to true)
define( 'WP_DEBUG', true );
// Add the following to enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Add the following to disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
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.
Viewing 4 reply threads
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.
Support forum for Event Espresso 3 and Event Espresso 4.