• Resolved titsmaker

    (@titsmaker)


    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


    1. Automattic\WooCommerce\Pinterest\Tracking::get_product_display_price()
      /wp-content/plugins/pinterest-for-woocommerce/src/Tracking.php:658

    2. Automattic\WooCommerce\Pinterest\Tracking::filter_add_to_cart_attributes()
      /wp-includes/class-wp-hook.php:308

    3. WP_Hook->apply_filters()
      /wp-includes/plugin.php:205

    4. apply_filters()
      /wp-content/plugins/woocommerce/includes/wc-template-functions.php:1369

    5. woocommerce_template_loop_add_to_cart()
      /wp-includes/class-wp-hook.php:308

    6. WP_Hook->apply_filters()
      /wp-includes/class-wp-hook.php:332

    7. WP_Hook->do_action()
      /wp-includes/plugin.php:517

    8. do_action()
      /wp-content/themes/woodmart/woocommerce/content-product-info-alt.php:60

    9. require(‘/home/***/…’)
      /wp-includes/template.php:785

    10. load_template()
      /wp-content/plugins/woocommerce/includes/wc-core-functions.php:284

    11. wc_get_template_part()
      /wp-content/themes/woodmart/woocommerce/content-product.php:149

    12. require(‘/home/***/…’)
      /wp-includes/template.php:785

    13. load_template()
      /wp-content/plugins/woocommerce/includes/wc-core-functions.php:284

    14. wc_get_template_part()
      /wp-content/themes/woodmart/inc/shortcodes/products.php:484

    15. woodmart_shortcode_products()
      /wp-includes/shortcodes.php:355

    16. do_shortcode_tag()

    17. preg_replace_callback()
      /wp-includes/shortcodes.php:227

    18. do_shortcode()
      /wp-includes/class-wp-hook.php:308

    19. WP_Hook->apply_filters()
      /wp-includes/plugin.php:205

    20. apply_filters()
      /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:1857

    21. WP_REST_Posts_Controller->prepare_item_for_response()
      /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:384

    22. WP_REST_Posts_Controller->get_items()
      /wp-includes/rest-api/class-wp-rest-server.php:1171

    23. WP_REST_Server->respond_to_request()
      /wp-includes/rest-api/class-wp-rest-server.php:1018

    24. WP_REST_Server->dispatch()
      /wp-includes/rest-api/class-wp-rest-server.php:442

    25. WP_REST_Server->serve_request()
      /wp-includes/rest-api.php:410

    26. rest_api_loaded()
      /wp-includes/class-wp-hook.php:308

    27. WP_Hook->apply_filters()
      /wp-includes/class-wp-hook.php:332

    28. WP_Hook->do_action()
      /wp-includes/plugin.php:565

    29. do_action_ref_array()
      /wp-includes/class-wp.php:399

    30. WP->parse_request()
      /wp-includes/class-wp.php:780

    31. WP->main()
      /wp-includes/functions.php:1332

    32. wp()
      /wp-blog-header.php:16

    33. require(‘/home/***/…’)
      /index.php:17

    34. {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.