Last days was working with translating, custom ticket, registration display etc. After instalation I saw, that wp-admin/admin.php?page=payment_gateways section was OK. But today returned to this section and got errors:
> Warning: Invalid argument supplied for foreach() in
> /home/pza/domains/pesciujuzygiai.lt/public_html/wp-content/uploads/espresso/gateways/payment_gateways.php
> on line 27
>
> Warning: Invalid argument supplied for foreach() in
> /home/pza/domains/pesciujuzygiai.lt/public_html/wp-content/uploads/espresso/gateways/payment_gateways.php
> on line 27
>
> Warning: array_merge() [function.array-merge]: Argument #2 is not an
> array in
> /home/pza/domains/pesciujuzygiai.lt/public_html/wp-content/uploads/espresso/gateways/payment_gateways.php
> on line 36
>
> Warning: array_unique() [function.array-unique]: The argument should
> be an array in
> /home/pza/domains/pesciujuzygiai.lt/public_html/wp-content/uploads/espresso/gateways/payment_gateways.php
> on line 37
>
> Warning: Invalid argument supplied for foreach() in
> /home/pza/domains/pesciujuzygiai.lt/public_html/wp-content/uploads/espresso/gateways/payment_gateways.php
> on line 39
First line reapet as many times as many gateways I upload (now uploaded only paypal & bank). I already tryed to move back gatewas from /uploads/espress/ to /plugins/event-espresso/
also tryed reactivate plugin and change “active gateway” in DB – nothing helps :/
if (!is_array($gateways_glob))
$gateways_glob = array();
Viewing 1 reply thread
The support post ‘Warning: Invalid argument supplied for foreach() @ Gateways’ 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.