Error after purhcase
-
Hi,
After customer makes a purchase, there is shown error. “critical error”. The payment goes through but I would like to have some other Thank You -page than error.
I have Woocommerce in use and other Woocommerce plugins. Also Elementor and couple others.
What could I do?
Cheers,
KimThe page I need help with: [log in to see the link]
-
Hello,
Can you go to WooCommerce > Settings > Advanced > Page setup, and check if order received page is set properly?
https://woocommerce.com/document/woocommerce-endpoints-2-1/
If you’d like to check further, please share a copy of your site’s System Status You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.
Hi,
I think it was set up properly. Thanks for your answer.
Here is the system report:
### WordPress Environment ### WordPress address (URL): https://www.levelstore.fi Site address (URL): https://www.levelstore.fi WC Version: 6.4.1 REST API Version: ? 6.4.1 WC Blocks Version: ? 7.5.0 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 3.3.2 Log Directory Writable: ? WP Version: 5.9.3 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache/2 PHP Version: 8.1.3 PHP Post Max Size: 128 MB PHP Time Limit: 30 PHP Max Input Vars: 10000 cURL Version: 7.82.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 10.3.32-MariaDB Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.4.1 WC Database Prefix: wp_ Total Database Size: 10.93MB Database Data Size: 8.42MB Database Index Size: 2.51MB wp_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.08MB + Index: 0.11MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_options: Data: 3.05MB + Index: 0.14MB + Engine InnoDB wp_postmeta: Data: 2.50MB + Index: 0.25MB + Engine InnoDB wp_posts: Data: 1.48MB + Index: 0.06MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ### Post Type Counts ### attachment: 21 custom_css: 1 customize_changeset: 14 e-landing-page: 1 elementor_library: 12 nav_menu_item: 6 page: 12 post: 2 product: 1 revision: 342 shop_coupon: 1 shop_order: 11 wp_global_styles: 3 wp_navigation: 3 wp_template_part: 1 wpcf7_contact_form: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (15) ### Contact Form 7: by Takayuki Miyoshi – 5.5.6 Elementor Pro: by Elementor.com – 3.6.5 Elementor: by Elementor.com – 3.6.5 Essential Addons for Elementor: by WPDeveloper – 5.1.1 Google Listings and Ads: by WooCommerce – 1.12.5 Jetpack: by Automattic – 10.8 Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.24.1 LiteSpeed Cache: by LiteSpeed Technologies – 4.6 Maintenance: by WebFactory Ltd – 4.05 Really Simple SSL: by Really Simple Plugins – 5.3.1 Visma Pay Payment Gateway: by Visma – 1.0.5 WooCommerce Shipit: by Lauri Karisola / markup.fi – 1.9.6 WooCommerce Carrier Agents: by Lauri Karisola / markup.fi – 1.4.0 WooCommerce Blocks: by Automattic – 7.5.0 WooCommerce: by Automattic – 6.4.1 ### Inactive Plugins (2) ### Akismet Anti-Spam: by Automattic – 4.2.2 Thanks Redirect for WooCommerce: by Nitin Prakash – 3.1 ### Must Use Plugins (1) ### WordPress automation by Installatron: by – ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right_space Thousand Separator: Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #6 - /tuotteet/ Cart: ? Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block. Checkout: #8 - /kassa/ My account: #9 - /oma-tili/ Terms and conditions: #478 - /toimitusehdot/ ### Theme ### Name: Hello Elementor Version: 2.5.0 Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: – ### Action Scheduler ### Complete: 110 Oldest: 2022-03-31 06:45:00 +0000 Newest: 2022-04-27 18:37:11 +0000 Pending: 2 Oldest: 2022-04-28 18:35:38 +0000 Newest: 2022-04-28 18:37:11 +0000 ### Status report information ### Generated at: 2022-04-27 19:04:39 +00:00
Hello,
Thanks for sending this information, to check better I’d need to ask for one more piece of information:
Error Log: Share a copy of any fatal error log found under
WooCommerce > System Status > Logs
(if available).Looking forward to hearing from you.
Hi,
There are two of them:
2022-04-07T08:50:39+00:00 CRITICAL Uncaught Error: Call to a member function update_meta() on bool in /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php:286 Stack trace: #0 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php(167): ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Manager->save_conditions() #1 [internal function]: ElementorPro\Modules\ThemeBuilder\Classes\Conditions_Manager->ajax_save_theme_template_conditions() #2 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-content/plugins/elementor/core/common/modules/ajax/module.php(171): call_user_func() #3 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/class-wp-hook.php(307): Elementor\Core\Common\Modules\Ajax\Module->handle_ajax_request() #4 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #5 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/plugin.php(474): WP_Hook->do_action() #6 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-admin/admin-ajax.php(187): do_action() #7 {main} thrown t?ss? /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-manager.php rivill? 286
AND
2022-04-27T08:43:22+00:00 CRITICAL Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/PHPMailer/PHPMailer.php:874 Stack trace: #0 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/PHPMailer/PHPMailer.php(1923): PHPMailer\PHPMailer\PHPMailer->mailPassthru() #1 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/PHPMailer/PHPMailer.php(1657): PHPMailer\PHPMailer\PHPMailer->mailSend() #2 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/PHPMailer/PHPMailer.php(1493): PHPMailer\PHPMailer\PHPMailer->postSend() #3 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/pluggable.php(544): PHPMailer\PHPMailer\PHPMailer->send() #4 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(655): wp_mail() #5 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-new-order.php(110): WC_Email->send() #6 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/class-wp-hook.php(307): WC_Email_New_Order->trigger() #7 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #8 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() #9 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array() #10 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/class-wp-hook.php(307): WC_Emails::send_transactional_email() #11 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #12 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/plugin.php(474): WP_Hook->do_action() #13 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(373): do_action() #14 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(222): WC_Order->status_transition() #15 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(120): WC_Order->save() #16 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-content/plugins/visma-pay-payment-gateway/visma-pay-payment-gateway.php(802): WC_Order->payment_complete() #17 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/class-wp-hook.php(307): WC_Gateway_Visma_Pay->check_visma_pay_response() #18 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #19 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/plugin.php(474): WP_Hook->do_action() #20 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-content/plugins/woocommerce/includes/class-wc-api.php(161): do_action() #21 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/class-wp-hook.php(307): WC_API->handle_api_requests() #22 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #23 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() #24 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/class-wp.php(396): do_action_ref_array() #25 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/class-wp.php(758): WP->parse_request() #26 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/functions.php(1310): WP->main() #27 /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-blog-header.php(16): wp() #28 /home/euvqzbgoss/domains/levelstore.fi/public_html/index.php(17): require('...') #29 {main} thrown t?ss? /home/euvqzbgoss/domains/levelstore.fi/public_html/wp-includes/PHPMailer/PHPMailer.php rivill? 874
Thank you! ??
Hi,
Still need help very bad!
Thank you. ??
Hello,
One error is pointing to Elementor, in this case, you can reach out to Elementor support for further assistance since this forum is specific to WooCommerce core.
The second error looks to be related to PHPMailer, please check with your host, is possible they have disabled or changed the default PHPMailer class.
Also, can you please run a conflict test and let us know if the issue persists?
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Make a test order
If the issue disappears it means there was a conflict, you will be able to re-activate the theme and plugins (one by one) until the cause of the issue is found You can find a more detailed explanation on how to do a conflict test here.
I hope this helps.
We haven’t heard back from you in a while (I believe that at this point you have been able to find a solution), so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.
Thanks.
- The topic ‘Error after purhcase’ is closed to new replies.