Support

Home Forums Event Espresso Premium Errors on Manage Payment Gateways Page

Errors on Manage Payment Gateways Page

Posted: July 27, 2012 at 12:52 pm


Lesley Baumann

July 27, 2012 at 12:52 pm

When I go to the Manage Payment Gateways page, I am not able to edit or even see any of the settings. Each gateway option has an error above it that says:

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/xxxxxx/public_html/xxxxxx/wp-content/plugins/event-espresso/gateways/check/settings.php on line 37

(Each gateway has it’s own specific error in its own specific settings.php file.)


Chris Reynolds

  • Support Staff

July 27, 2012 at 5:34 pm

You have your error_reporting set too high. Check if you have WP_DEBUG set to TRUE in your wp-config.php. If not, you may need to change the setting in the php.ini file. You might be able to get away with installing the Debug Bar plugin which may (or may not) just route those messages to the admin bar and not display them on the page.


Lesley Baumann

August 1, 2012 at 10:23 am

Thanks! Adjusting the php.ini file did the trick.


Sidney Harrell

October 16, 2012 at 4:29 pm

Hey Lesley,
Can you check the wp_options table for the ‘event_espresso_active_gateways’ option? It should be an array, so you shouldn’t be getting that error.


Lesley Baumann

October 17, 2012 at 7:58 am

Hi Sidney,

I found ‘event_espresso_active_gateways’ in the wp_options table using phpMyAdmin, but how do I check if it’s an array?


Josh

  • Support Staff

October 17, 2012 at 9:19 am

Hi Lesley,

What is the option value for ‘event_espresso_active_gateways’ ?


Lesley Baumann

October 17, 2012 at 11:03 am

This is what I see…

enter image description here

The support post ‘Errors on Manage Payment Gateways Page’ 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