I seem to be having issues with my site currently exceeding max_user_connections on the sql database, this was originally fine but has started a couple of months back. I’ve tried to track the problem down but the only thing I can ssee that keeps recurring is the following warning:
PHP Warning: array_merge(): Argument #2 is not an array in /public_html/wp-content/plugins/event-espresso/gateways/process_payments.php on line 30
I am currently running version 3.1.37.11.P and have ensured that all other event espresso plugins are up to date as well.
The above warning means that EE attempted to pull the details for a registration from the database and either could not find any or an error was returned from the call (possible from hitting the hosts max_user_connections limit).
What is the max_connections limit currently set to?
Thanks for the reply. I ran the following query via phpmyadmin:
show variables like “max_connections”
and it returned a value of 1000 but as that seemed quite high for shared hosting I contacted my host directly and they advised me that the normal setting for their shared hosting is 50 simultaneous connections.
It used to run fine and there were no changes made to the site prior to this issue occurring other than new events added and old ones removed.
The support post ‘PHP Warning and MySql issues’ 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.