Causing critical error on site
-
Blog pages are being displayed at tablet size. Disable the plugin and they are at desktop size. Causing a critical error on the site as follows:
[17-Oct-2021 20:59:10 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_price() on bool in /var/www/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1108 Stack trace: #0 /var/www/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php(1867): wc_get_price_to_display(false) #1 /var/www/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php(1215): WC_Gateway_Afterpay->render_placement('product-pages', false) #2 /var/www/wp-includes/shortcodes.php(356): WC_Gateway_Afterpay->shortcode_afterpay_paragraph(Array, '', 'afterpay_paragr...') #3 [internal function]: do_shortcode_tag(Array) #4 /var/www/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(afterp...', 'do_shortcode_ta...', '[afterpay_parag...') #5 /var/www/wp-includes/class-wp-hook.php(303): do_shortcode('[afterpay_parag...') #6 /var/www/wp-includes/plugin.php(189): WP_Hook->apply_filters('[afterpay_parag...', Array) #7 /var/www/wp-content/plugins/woocommerce/includes/wc-formatting-functions.php(1091) in /var/www/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1108
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Causing critical error on site’ is closed to new replies.