Support

Home Forums Event Espresso Premium PHP Warning and MySql issues

PHP Warning and MySql issues

Posted: May 29, 2017 at 4:00 am

Viewing 3 reply threads


gmilne80

May 29, 2017 at 4:00 am

Hi,

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.


Tony

  • Support Staff

May 29, 2017 at 8:19 am

Hi there,

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?


gmilne80

May 29, 2017 at 9:26 am

Hi Tony,

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.


Josh

  • Support Staff

May 29, 2017 at 11:13 am

Hi there,

You’ll find some helpful tips here:

https://codex.wordpress.org/High_Traffic_Tips_For_WordPress#MySQL.2FMariaDB

Viewing 3 reply threads

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.

Event Espresso