500 Internal Server Error on Checkout Page
-
I’m developing this site using Woo Commerce for the first time and it’s throwing an error on the xhr request to checkout. What seems to be the issue? As I cannot quite understand what’s going on.
The page I need help with: [log in to see the link]
-
Hi @bretoreta ,
Thanks for reaching out!
I understand that you are experiencing issues on checkout where you are met with a 500 internal server error, is this correct?
An?
HTTP 500
?error typically indicates that there is a problem with the server, rather than with the site itself.I have gone to your site and tried to place a test order, however I am met with a critical error:
I’d like to have a better understanding of your sites current environment, this being said, please can you share a copy of the following:
- System Status Report: navigate to?WooCommerce?→?Status. Select?
Get system report
?and then?Copy for support
. - Fatal Error log: Share a copy of any fatal error log found under?WooCommerce?→?Status?→?Logs.
- Screenshot: Please share a screenshot of the 500 internal server error you are seeing on your end.
Snipboard.io?can be used for easily sharing screenshots – please follow the instructions on that page, then paste the URL in this thread.
Once you have these, please share them in your response here.
Cheers!
Hello thanks for taking time to help. Here is the system report. I have tried to debug the code by turning debug mode on from my cpanel.
### WordPress Environment ### WordPress address (URL): https://elegantpointshop.com Site address (URL): https://elegantpointshop.com WC Version: 7.6.0 REST API Version: ?</img> 7.6.0 WC Blocks Version: ?</img> 9.8.4 Action Scheduler Version: ?</img> 3.5.4 Log Directory Writable: ?</img> WP Version: 6.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: ?</img> WP Cron: ?</img> Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 8.0.28 PHP Post Max Size: 32 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.88.0 OpenSSL/1.1.1t SUHOSIN Installed: – MySQL Version: 5.7.41 Max Upload Size: 32 MB Default Timezone is UTC: ?</img> fsockopen/cURL: ?</img> SoapClient: ?</img> DOMDocument: ?</img> GZip: ?</img> Multibyte String: ?</img> Remote Post: ?</img> Remote Get: ?</img> ### Database ### WC Database Version: 7.6.0 WC Database Prefix: wplh_ Total Database Size: 18.54MB Database Data Size: 15.13MB Database Index Size: 3.41MB wplh_woocommerce_sessions: Data: 0.11MB + Index: 0.02MB + Engine InnoDB wplh_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wplh_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wplh_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wplh_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wplh_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_actionscheduler_actions: Data: 0.33MB + Index: 0.31MB + Engine InnoDB wplh_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_actionscheduler_logs: Data: 0.20MB + Index: 0.17MB + Engine InnoDB wplh_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wplh_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_automations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wplh_mailpoet_automation_runs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_automation_run_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_automation_run_subjects: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_mailpoet_automation_triggers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wplh_mailpoet_automation_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wplh_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wplh_mailpoet_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wplh_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wplh_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wplh_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wplh_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wplh_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wplh_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wplh_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_mailpoet_subscribers: Data: 0.02MB + Index: 0.13MB + Engine InnoDB wplh_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_options: Data: 5.03MB + Index: 0.11MB + Engine InnoDB wplh_postmeta: Data: 1.39MB + Index: 0.30MB + Engine InnoDB wplh_posts: Data: 1.22MB + Index: 0.06MB + Engine InnoDB wplh_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB wplh_revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wplh_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wplh_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wplh_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wplh_revslider_sliders: Data: 0.19MB + Index: 0.02MB + Engine InnoDB wplh_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_revslider_slides: Data: 2.17MB + Index: 0.02MB + Engine InnoDB wplh_revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wplh_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wplh_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wplh_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wplh_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wplh_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wplh_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wplh_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wplh_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wplh_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### attachment: 159 mailpoet_page: 1 mc4wp-form: 1 nav_menu_item: 70 page: 44 post: 13 product: 9 revision: 48 shop_order: 12 ts_footer_block: 17 ts_logo: 5 ts_testimonial: 4 wpcf7_contact_form: 2 ### Security ### Secure connection (HTTPS): ?</img> Hide errors from visitors: ?</img>Error messages should not be shown to visitors. ### Active Plugins (14) ### Redux Framework: by Team Redux – 4.4.0 Contact Form 7: by Takayuki Miyoshi – 5.7.5.1 Jetpack: by Automattic – 12.0 WPBakery Page Builder: by Michael M - WPBakery.com – 6.10.0 MC4WP: Mailchimp for WordPress: by ibericode – 4.9.3 MailPoet: by MailPoet – 4.11.1 One Click Demo Import: by OCDI – 3.1.2 Slider Revolution: by ThemePunch – 6.6.12 ThemeSky: by ThemeSky Team – 1.3.3 WooCommerce Payments: by Automattic – 5.7.0 WooCommerce Shipping & Tax: by WooCommerce – 2.2.4 WooCommerce: by Automattic – 7.6.0 YITH WooCommerce Compare: by YITH – 2.25.0 YITH WooCommerce Wishlist: by YITH – 3.19.0 ### Inactive Plugins (2) ### Akismet Anti-Spam: by Automattic – 5.1 Hello Dolly: by Matt Mullenweg – 1.7.2 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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: – Enforce Approved Product Download Directories: ?</img> Order datastore: WC_Order_Data_Store_CPT ### WC Pages ### Shop base: #51 - /shop/ Cart: #52 - /cart-2/ Checkout: #53 - /checkout-2/ My account: ?</img> Page does not contain the [woocommerce_my_account] shortcode. Terms and conditions: ?</img> Page not set ### Theme ### Name: UpStore Version: 1.4.9 Author URL: https://theme-sky.com/ Child Theme: ?</img> – 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: ?</img> ### Templates ### Overrides: upstore/woocommerce/archive-product.php upstore/woocommerce/cart/cart.php upstore/woocommerce/content-product-cat.php upstore/woocommerce/content-product.php upstore/woocommerce/content-widget-product.php upstore/woocommerce/global/quantity-input.php upstore/woocommerce/loop/add-to-cart.php upstore/woocommerce/loop/loop-end.php upstore/woocommerce/loop/loop-start.php upstore/woocommerce/loop/orderby.php upstore/woocommerce/myaccount/my-address.php upstore/woocommerce/single-product/add-to-cart/variable.php upstore/woocommerce/single-product/product-image.php upstore/woocommerce/single-product/product-thumbnails.php upstore/woocommerce/single-product/rating.php upstore/woocommerce/single-product/tabs/tabs.php upstore/woocommerce/single-product.php ### Subscriptions ### WCS_DEBUG: ?</img> No Subscriptions Mode: ?</img> Live Subscriptions Live URL: https://elegantpointshop.com Subscriptions-core Library Version: 5.5.0 Subscription Statuses: – WooCommerce Account Connected: ?</img> No ### Store Setup ### Country / State: United States (US) — New York ### Subscriptions by Payment Gateway ### ### Payment Gateway Support ### WooCommerce Payments: products refunds multiple_subscriptions subscription_cancellation subscription_payment_method_change_admin subscription_payment_method_change_customer subscription_payment_method_change subscription_reactivation subscription_suspension subscriptions gateway_scheduled_payments tokenization add_payment_method ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: block-editor-feature-enabled minified-js new-product-management-experience product-variation-management settings Daily Cron: ?</img> Next scheduled: 2023-04-19 08:24:14 +00:00 Options: ?</img> Notes: 63 Onboarding: completed ### WooCommerce Payments ### Version: 5.7.0 Connected to WPCOM: Yes Blog ID: 217904277 Account ID: acct_1MxDToCDZQwPPIQB ### Action Scheduler ### Canceled: 1 Oldest: 2023-04-18 15:32:29 +0000 Newest: 2023-04-18 15:32:29 +0000 Complete: 787 Oldest: 2023-04-16 08:25:40 +0000 Newest: 2023-04-18 15:36:38 +0000 Failed: 3 Oldest: 2023-04-16 08:27:15 +0000 Newest: 2023-04-16 14:27:32 +0000 Pending: 2 Oldest: 2023-04-18 15:38:38 +0000 Newest: 2023-04-19 08:37:22 +0000 ### Status report information ### Generated at: 2023-04-18 15:36:40 +00:00
@beautyofcode after turning on debug mode I get this error from the console now…
Call to undefined function PHPMailer\PHPMailer\mail()
Hi @bretoreta
Thanks for sharing the requested information above.
Checking your site’s checkout page and placing an order to your site, I was able to proceed with the checkout process successfully as you can see below:
Can you please confirm if the issue has been resolved here already as I was unable to reproduce the critical error on my end?
I’ve installed a mailing plugin and now everything works well thank you
HI @bretoreta
I’m glad you were able to find a solution to your inquiry here and thanks for sharing it with the community too! ??
Meanwhile, if you have a moment to spare, we would love it if you could share your thoughts with us by leaving a review or feedback. Your experience and feedback are important to help us improve and ensure we’re always providing the best possible support.
Thanks!
- System Status Report: navigate to?WooCommerce?→?Status. Select?
- The topic ‘500 Internal Server Error on Checkout Page’ is closed to new replies.