“Warning: array_key_exists() expects parameter 2 to be array, string given in /home/arsenalarts321/public_html/wp-content/plugins/event-espresso/includes/functions/cart.php on line 250”
Do you have any insight on what might be causing this? The error doesn’t seem to be affecting our checkout/registration for users, it’s just that this warning pops up on the checkout page.
Please also turn off WordPress debugging as this is a live or production site. The following macro can be added to your wp-config.php file and should replace and existing debugging macros.
The first thing I would test is to rename the espresso directory found in wp-content/uploads/ via FTP or your hosts file manager.
This will DISABLE all of your modified files, forcing the plugin to use the defaults. As such you may wish to put the site into maintenance mode (I’m not sure what modifications you have made or how they affect your site, so maintenance mode may or may not be necessary).
Once the plugin is using the default templates, test the registration again and see if the error occurs.
The support post ‘cart.php error: array_key_exists()’ 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.