ebanx/woocommerce-gateway-ebanx

1.36.0: fresh activation causes PHP Notice flood

Opened this issue · 0 comments

(Hopefully you're already using https://github.com/johnbillion/query-monitor as part of your workflow.)

24x PHP Notices each

[11-Feb-2019 11:36:21 UTC] PHP Notice:  Undefined index: live_private_key in /home/wordpress/wp-content/plugins/ebanx-payment-gateway-for-woocommerce/services/class-wc-ebanx-api.php on line 51

do_action('load-woocommerce_page_wc-settings')
wp-admin/admin.php:231
WC_Admin_Menus->settings_page_init()
wp-includes/class-wp-hook.php:286
WooCommerce->payment_gateways()
wp-content/plugins/woocommerce@3.x.git/includes/admin/class-wc-admin-menus.php:90
WC_Payment_Gateways::instance()
wp-content/plugins/woocommerce@3.x.git/includes/class-woocommerce.php:690
WC_Payment_Gateways->__construct()
wp-content/plugins/woocommerce@3.x.git/includes/class-wc-payment-gateways.php:43
WC_Payment_Gateways->init()
wp-content/plugins/woocommerce@3.x.git/includes/class-wc-payment-gateways.php:70
WC_EBANX_Banking_Ticket_Gateway->__construct()
wp-content/plugins/woocommerce@3.x.git/includes/class-wc-payment-gateways.php:108
WC_EBANX_New_Gateway->__construct()
wp-content/plugins/ebanx-payment-gateway-for-woocommerce/gateways/class-wc-ebanx-banking-ticket-gateway.php:27
WC_EBANX_Api->__construct()
wp-content/plugins/ebanx-payment-gateway-for-woocommerce/gateways/class-wc-ebanx-new-gateway.php:116
WC_EBANX_Api->get_config()
wp-content/plugins/ebanx-payment-gateway-for-woocommerce/services/class-wc-ebanx-api.php:39
wp-content/plugins/ebanx-payment-gateway-for-woocommerce/services/class-wc-ebanx-api.php:51
[11-Feb-2019 11:36:21 UTC] PHP Notice:  Undefined index: br_interest_rates_01 in /home/wordpress/wp-content/plugins/ebanx-payment-gateway-for-woocommerce/services/class-wc-ebanx-api.php on line 82

do_action('load-woocommerce_page_wc-settings')
wp-admin/admin.php:231
WC_Admin_Menus->settings_page_init()
wp-includes/class-wp-hook.php:286
WooCommerce->payment_gateways()
wp-content/plugins/woocommerce@3.x.git/includes/admin/class-wc-admin-menus.php:90
WC_Payment_Gateways::instance()
wp-content/plugins/woocommerce@3.x.git/includes/class-woocommerce.php:690
WC_Payment_Gateways->__construct()
wp-content/plugins/woocommerce@3.x.git/includes/class-wc-payment-gateways.php:43
WC_Payment_Gateways->init()
wp-content/plugins/woocommerce@3.x.git/includes/class-wc-payment-gateways.php:70
WC_EBANX_Banking_Ticket_Gateway->__construct()
wp-content/plugins/woocommerce@3.x.git/includes/class-wc-payment-gateways.php:108
WC_EBANX_New_Gateway->__construct()
wp-content/plugins/ebanx-payment-gateway-for-woocommerce/gateways/class-wc-ebanx-banking-ticket-gateway.php:27
WC_EBANX_Api->__construct()
wp-content/plugins/ebanx-payment-gateway-for-woocommerce/gateways/class-wc-ebanx-new-gateway.php:116
WC_EBANX_Api->get_credit_card_config()
wp-content/plugins/ebanx-payment-gateway-for-woocommerce/services/class-wc-ebanx-api.php:39
wp-content/plugins/ebanx-payment-gateway-for-woocommerce/services/class-wc-ebanx-api.php:82