• Resolved vectogravic

    (@vectogravic)


    Hello, my site is getting very slow even got Gateway Timeout and consuming too much memory usage. I received the following error warning from the Hosting provider
    PHP Fatal error: Uncaught Error: Call to a member function get_items() on bool in /home/wp_npvnnv/vectogravic.com/wp-content/themes/vectogravic/lib/woo-templates/product-account.php:174\nStack
    trace:\n#0 /home/wp_npvnnv/vectogravic.com/wp-includes/class-wp-hook.php(287): vectogravic_thank_you_title(‘Thank you. Your…’, NULL)\n#1 /home/wp_npvnnv/vectogravic.com/wp-includes/plugin.php(212): WP_Hook->apply_filters(‘Thank you. Your…’, Array)\n#2 /home/wp_npvnnv/vectogravic.com/wp-content/plugins/woocommerce/templates/checkout/thankyou.php(84): apply_filters(‘woocommerce_tha…’, ‘Thank you. Your…’, NULL)\n#3 /home/wp_npvnnv/vectogravic.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/home/wp_npvnnv…’)\n#4 /home/wp_npvnnv/vectogravic.com/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(256): wc_get_template(‘checkout/thanky…’, Array)\n#5 /home/wp_npvnnv/vectogravic.com/wp-content/plugins/woocommerce/includes/shortcodes/c…

    Thanks in advance and please advise…

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    The error you are seeing is from the theme you are using. It contains custom templates for the thank you pages, and one of those is causing this error.

    I would recommend reaching out to the developers of the theme to ask them to update the theme to fix this issue.

    Thread Starter vectogravic

    (@vectogravic)

    Okay thanks for the reply, it’s fixed now

    Hi @slash1andy

    Unfortunately I have the same problem on my website. Perhaps you can tell me, how did you fixed your problem?

    I have a WordPress site where we use WooCommerce and Salient. When our customers reach the last point of checkout, a critical error occurs.

    I have tried various troubleshooting, as well as support from WooCommerce and our payment provider. Both say that it must be a mistake in our theme, and therefore I now seek help from you.

    The critical error says:

    Uncaught Error: Call to a member function get_items() on bool in /var/www/brainchild-original.dk/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php:1938?Stack trace:?#0 /var/www/brainchild-original.dk/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(1458): WC_Order->get_qty_refunded_for_item(27861)?#1 /var/www/brainchild-original.dk/public_html/wp-content/plugins/woocommerce/templates/order/order-details.php(29): WC_Order->get_downloadable_items()?#2 /var/www/brainchild-original.dk/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/var/www/brainc…’)?#3 /var/www/brainchild-original.dk/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2601): wc_get_template(‘order/order-det…’, Array)?#4 /var/www/brainchild-original.dk/public_html/wp-includes/class-wp-hook.php(287): woocommerce_order_details_table(48536)?#5 /var/www/brainchild-original.dk/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_ in

    Do you have a suggestion on how I can solve my problem?

    Best regards
    Martin.`

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught Error: Call to a member function get_items()’ is closed to new replies.