Title: Undefined array key &#8220;env_key&#8221;, Undefined array key &#8220;data&#8221;
Last modified: January 15, 2024

---

# Undefined array key “env_key”, Undefined array key “data”

 *  [Valdinia](https://wordpress.org/support/users/valdinia/)
 * (@valdinia)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/undefined-array-key-env_key-undefined-array-key-data/)
 * Our site is down. It displays this error:
 * `This page contains the following errors: error on line 2 at column 1: Extra 
   content at the end of the document`
 * In the errors log file I found these errors:
 * [14-Jan-2024 10:34:28 UTC] PHP Warning: Undefined array key “env_key” in /home/…./
   plugins/netopia-payments-payment-gateway/wc-netopiapayments-gateway.php on line
   404
   [14-Jan-2024 10:34:28 UTC] PHP Warning: Undefined array key “data” in /home/…../
   plugins/netopia-payments-payment-gateway/wc-netopiapayments-gateway.php on line
   405
 * If I disable the “NETOPIA Payments Woocommerce Payment Gateway” plugin everything
   comes back to normal.
 * What is to be done?
 *  

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [netopiapayments](https://wordpress.org/support/users/netopiapayments/)
 * (@netopiapayments)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/undefined-array-key-env_key-undefined-array-key-data/#post-17354168)
 * At first glance, this looks like a misconfiguration or incompatibility with another
   plugin.
 * Please start a conversation with our technical support department [here](https://support.netopia-payments.com/en-us/conversation/new)
   as we might need some specific/sensitive data from you in order to get to the
   root of the problem.
 *  [mihaiiceyro](https://wordpress.org/support/users/mihaiiceyro/)
 * (@mihaiiceyro)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/undefined-array-key-env_key-undefined-array-key-data/#post-17447258)
 * Same error here…it shows when i have woocommerce bookings…
   Please fix it..

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Undefined array key “env_key”, Undefined array key “data”’ is closed 
to new replies.

 * ![](https://ps.w.org/netopia-payments-payment-gateway/assets/icon-256x256.jpg?
   rev=2295859)
 * [NETOPIA Payments Payment Gateway](https://wordpress.org/plugins/netopia-payments-payment-gateway/)
 * [Support Threads](https://wordpress.org/support/plugin/netopia-payments-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/netopia-payments-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/netopia-payments-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/netopia-payments-payment-gateway/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [mihaiiceyro](https://wordpress.org/support/users/mihaiiceyro/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/undefined-array-key-env_key-undefined-array-key-data/#post-17447258)
 * Status: not resolved