• The following PHP Fatal Error occurs when opening Wishlist with Admin account.

    Wishlist shows there are 3 products but there is only 1.

    2020/08/10 11:47:11 [error] 63359#63359: *4230359 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Exception: Invalid product. in /www/laqaxewe_731/public/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php:165
    Stack trace:
    #0 /www/laqaxewe_731/public/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Product_Data_Store_CPT->read(Object(WC_Product))
    #1 /www/laqaxewe_731/public/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(135): WC_Data_Store->read(Object(WC_Product))
    #2 /www/laqaxewe_731/public/wp-content/themes/neighborhood/woocommerce/wishlist-view.php(144): WC_Product->__construct(6337)
    #3 /www/laqaxewe_731/public/wp-content/plugins/yith-woocommerce-wishlist/includes/functions.yith-wcwl.php(102): include(‘/www/laqaxewe_7…’)
    #4 /www/laqaxewe_731/public/wp-content/plugins/yith-woocommerce-wishlist/includes/functions.yith-wcwl.php(153): yith_wcwl_get_template(‘wishlist-view.p…’, Array, false)
    #5 /www/laqaxewe_731/public/wp-content/plugins/yith-woocommerce-wishlist/in” while reading response header from upstream, client: 109.154.120.150, server: 4boards.co.uk, request: “GET /wishlist/ HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.3-fpm-laqaxewe.sock:”, host: “4boards.co.uk”, referrer: “https://4boards.co.uk/”

    Woocommerce Version V4.3.1 WordPress 5.4.2

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    I think this isn’t specifically related to our plugin, but more to some products that was previously added to the wishlist you’re trying to see, and that now for whatever reason cannot be retrieved by WooCommerce, causing the Exception you see

    Do you think you could try to empty your wishlist from DB and start list from scracth? I suppose removing wishlist content should be enough to get rid of the Fatal Error

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal error’ is closed to new replies.