Fatal Error
-
I am running Pinterest for Woocommerce ver 1.2.13 and following fatal error has appeared in my log just recently:
Fatal error: Uncaught Error: Call to a member function display_prices_including_tax() on null in /wp-content/plugins/pinterest-for-woocommerce/src/Tracking.php:728
Stack Trace
Automattic\WooCommerce\Pinterest\Tracking::get_product_display_price()
/wp-content/plugins/pinterest-for-woocommerce/src/Tracking.php:658
Automattic\WooCommerce\Pinterest\Tracking::filter_add_to_cart_attributes()
/wp-includes/class-wp-hook.php:308
WP_Hook->apply_filters()
/wp-includes/plugin.php:205
apply_filters()
/wp-content/plugins/woocommerce/includes/wc-template-functions.php:1369
woocommerce_template_loop_add_to_cart()
/wp-includes/class-wp-hook.php:308
WP_Hook->apply_filters()
/wp-includes/class-wp-hook.php:332
WP_Hook->do_action()
/wp-includes/plugin.php:517
do_action()
/wp-content/themes/woodmart/woocommerce/content-product-info-alt.php:60
require(‘/home/***/…’)
/wp-includes/template.php:785
load_template()
/wp-content/plugins/woocommerce/includes/wc-core-functions.php:284
wc_get_template_part()
/wp-content/themes/woodmart/woocommerce/content-product.php:149
require(‘/home/***/…’)
/wp-includes/template.php:785
load_template()
/wp-content/plugins/woocommerce/includes/wc-core-functions.php:284
wc_get_template_part()
/wp-content/themes/woodmart/inc/shortcodes/products.php:484
woodmart_shortcode_products()
/wp-includes/shortcodes.php:355
do_shortcode_tag()
preg_replace_callback()
/wp-includes/shortcodes.php:227
do_shortcode()
/wp-includes/class-wp-hook.php:308
WP_Hook->apply_filters()
/wp-includes/plugin.php:205
apply_filters()
/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1857
WP_REST_Posts_Controller->prepare_item_for_response()
/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:384
WP_REST_Posts_Controller->get_items()
/wp-includes/rest-api/class-wp-rest-server.php:1171
WP_REST_Server->respond_to_request()
/wp-includes/rest-api/class-wp-rest-server.php:1018
WP_REST_Server->dispatch()
/wp-includes/rest-api/class-wp-rest-server.php:442
WP_REST_Server->serve_request()
/wp-includes/rest-api.php:410
rest_api_loaded()
/wp-includes/class-wp-hook.php:308
WP_Hook->apply_filters()
/wp-includes/class-wp-hook.php:332
WP_Hook->do_action()
/wp-includes/plugin.php:565
do_action_ref_array()
/wp-includes/class-wp.php:399
WP->parse_request()
/wp-includes/class-wp.php:780
WP->main()
/wp-includes/functions.php:1332
wp()
/wp-blog-header.php:16
require(‘/home/***/…’)
/index.php:17
{main}
thrown in /wp-content/plugins/pinterest-for-woocommerce/src/Tracking.php on line 728
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Fatal Error’ is closed to new replies.