Question about adv_cod_filter_gateways function
-
Hello,
I have quick question about your code, hope you don’t mind.
I have WC addon which is working with available payment gateways. This plugin allows you to choose which of the payment gateways will be available in certain country.
https://wordpress.org/plugins/woocommerce-country-based-payments/When my and your plugins are activated on same website, the error occurs in settings page of my plugin.
The following error is shown:
Fatal error: Call to a member function get() on null in /var/www/plugin/wp-content/plugins/woocommerce-cod-advanced/woocommerce_advanced_cod.php on line 355.This error happens in “adv_cod_filter_gateways” function. Is this function intended to filter payment gateways in admin, or just in front end?
WP and plugins version: latest.
Thank you,
Ivan
The topic ‘Question about adv_cod_filter_gateways function’ is closed to new replies.