SwedbankPay / swedbank-pay-woocommerce-checkout

Swedbank Pay Checkout for WooCommerce (Beta)
https://wordpress.org/plugins/swedbank-pay-checkout/
Apache License 2.0
5 stars 1 forks source link

[bug] Notice: Function is_page was called incorrectly. #132

Closed rmilesson closed 2 years ago

rmilesson commented 2 years ago

Your usage of WC()->payment_gateways()->get_available_payment_gateways(); in class-wc-shortcode-checkout.php in the function get_gateway() causes the notice Notice: Function is_page was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. to appear.