kilbot / WooCommerce-POS

:bangbang: All development now at https://github.com/wcpos.

Home Page:http://wcpos.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php Error making blank front end

poissonvert opened this issue · comments

Add a php error with the latest version installed, making my frontend break.
Stripe is widely used, shouldn't be causing conflict with this plugin.

[Thu Jan 03 14:49:54.224599 2019] [php7:error] [pid 2147] [client xxxx] PHP Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /var/www/wp-content/plugins/woocommerce-point-of-sale/includes/class-wc-pos-paymentsense.php:98\nStack trace:\n#0 /var/www/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(159): WC_POS_PaymentSense_Gateway->is_available()\n#1 /var/www/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php(541): WC_Payment_Gateways->get_available_payment_gateways()\n#2 /var/www/wp-includes/class-wp-hook.php(286): WC_Stripe_Payment_Request->display_payment_request_button_html('')\n#3 /var/www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)\n#4 /var/www/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#5 /var/www/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/simple.php(44): do_action('woocommerce_aft...')\n#6 /var/www in /var/www/wp-content/plugins/woocommerce-point-of-sale/includes/class-wc-pos-paymentsense.php on line 98, referer: xxxx

Please note: woocommerce-point-of-sale from Code Canyon is a different plugin. You should contact them for support.