• Resolved David Ruekberg

    (@druekberg)


    Every time I update WooCommerce I get the following error:

    DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”

    Update failed: 500
    Internal Server Error

    The site then goes into maintenance mode. I have learned how to delete the maintenance mode file from the root and then delete the WooCommerce folder and reinstall it. A couple of times I have had to restore the entire site from a backup.

    This is the only plugin that causes this issue.

    Here’s the status log, but this is after I reinstalled it. Not sure where to find the error logs, if they still exist (since I deleted the WooCommerce folder before reinstallation).

    WordPress Environment
    WordPress address (URL): https://poetry.ruekberg.com
    Site address (URL): https://poetry.ruekberg.com
    WC Version: 7.2.2
    REST API Version: ?</img> 7.2.2
    WC Blocks Version: ?</img> 8.9.2
    Action Scheduler Version: ?</img> 3.4.0
    Log Directory Writable: ?</img>
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 500 MB
    WP Debug Mode: –
    WP Cron: ?</img>
    Language: en_US
    External object cache: ?</img>
    Server Environment
    Server Info: Apache
    PHP Version: 8.0.22
    PHP Post Max Size: 512 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 1000
    cURL Version: 7.58.0
    OpenSSL/1.1.1
    SUHOSIN Installed: –
    MySQL Version: 8.0.28-0ubuntu0.20.04.3
    Max Upload Size: 512 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.2.2
    WC Database Prefix: wp_65pam7
    Total Database Size: 14.88MB
    Database Data Size: 11.40MB
    Database Index Size: 3.48MB
    wp_65pam7woocommerce_sessions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_65pam7woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7woocommerce_order_itemmeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_65pam7woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7actionscheduler_actions: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    wp_65pam7actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7aiowps_debug_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7aiowps_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7aiowps_failed_logins: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_65pam7aiowps_global_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7aiowps_login_activity: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7aiowps_login_lockdown: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_65pam7aiowps_permanent_block: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7ce4wp_contacts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7comments: Data: 0.05MB + Index: 0.09MB + Engine InnoDB
    wp_65pam7gla_budget_recommendations: Data: 0.20MB + Index: 0.11MB + Engine InnoDB
    wp_65pam7gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7litespeed_img_optm: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7options: Data: 2.52MB + Index: 0.13MB + Engine InnoDB
    wp_65pam7pmr_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7postmeta: Data: 1.52MB + Index: 0.31MB + Engine InnoDB
    wp_65pam7posts: Data: 2.52MB + Index: 0.19MB + Engine InnoDB
    wp_65pam7smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7tec_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7tec_occurrences: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7usermeta: Data: 0.11MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_65pam7wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_65pam7wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_65pam7wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_65pam7wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7wptsaf_security_file_change_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7wptsaf_security_malware_scanner_log: Data: 2.52MB + Index: 0.83MB + Engine InnoDB
    wp_65pam7wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_65pam7yoast_indexable: Data: 0.19MB + Index: 0.09MB + Engine InnoDB
    wp_65pam7yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_65pam7yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_65pam7yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_65pam7yoast_seo_links: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
    wp_65pam7yoast_seo_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    Post Type Counts
    amn_wpforms-lite: 1
    attachment: 120
    custom_css: 3
    customize_changeset: 4
    feedback: 23
    jetpack_migration: 2
    jp_img_sitemap: 1
    jp_sitemap: 1
    jp_sitemap_master: 1
    link_library_links: 2
    nav_menu_item: 9
    oembed_cache: 1
    page: 24
    post: 21
    product: 5
    revision: 455
    scheduled-action: 8
    shop_coupon: 4
    shop_order: 20
    shop_order_refund: 1
    simple_link: 15
    tribe_events: 31
    tribe_organizer: 14
    tribe_venue: 10
    wp_global_styles: 2
    wpsc_cart_orders: 7
    Security
    Secure connection (HTTPS): ?</img>
    Hide errors from visitors: ?</img>
    Active Plugins (25)
    Akismet Anti-Spam: by Automattic – 5.0.2
    All In One WP Security: by All In One WP Security & Firewall Team – 5.1.4
    Child Theme Configurator: by Lilaea Media – 2.6.0
    Classic Editor: by WordPress Contributors – 1.6.2
    Continue Shopping Anywhere for WooCommerce: by Ivan Chernyakov – 1.3.0
    Disable auto-update Email Notifications: by Blogies Tools – 1.4.0
    Docket Cache: by Nawawi Jamili – 22.07.02
    Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
    Jetpack: by Automattic – 11.6
    Open External Links in a New Window: by WebFactory Ltd – 1.44
    Phoenix Media Rename: by crossi72 – 3.8.8
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
    Remove "Comments are closed": by Per Soderlind – 1.3.2
    Save & Import Image from URL: by basteln3rk – 0.7
    Scroll to Anchor: by Bego Mario Garde – 0.6.0
    Simple Links: by Mat Lipe – 4.7.4
    The Events Calendar: by The Events Calendar – 6.0.6.2
    UpdraftPlus - Backup/Restore: by UpdraftPlus.Com
    DavidAnderson – 1.22.24
    WooCommerce PayPal Payments: by WooCommerce – 2.0.1
    PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.2.6
    WooCommerce Shipping & Tax: by WooCommerce – 2.1.0
    WooCommerce: by Automattic – 7.2.2
    Yoast SEO: by Team Yoast – 19.13
    WP-DBManager: by Lester 'GaMerZ' Chan – 2.80.9
    WP Super Cache: by Automattic – 1.9.2
    Inactive Plugins (0)
    Dropin Plugins (2)
    advanced-cache.php: advanced-cache.php
    object-cache.php: Docket Cache Drop-in
    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: –
    Order datastore: WC_Order_Data_Store_CPT
    WC Pages
    Shop base: #1295 - /shop/
    Cart: #1296 - /cart/
    Checkout: #1297 - /checkout-return-to-cart-to-edit/
    My account: #1298 - /my-account/
    Terms and conditions: #1590 - /refund_returns/
    Theme
    Name: Startup Blog
    Version: 1.38
    Author URL: https://www.competethemes.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
    Archive Template: Your theme has a woocommerce.php file
    you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
    Overrides: –
    WooCommerce PayPal Payments
    Onboarded: ?</img>
    Shop country code: US
    WooCommerce currency supported: ?</img>
    Advanced Card Processing available in country: ?</img>
    Pay Later messaging available in country: ?</img>
    Webhook status: –
    Vault enabled: ?</img>
    Logging enabled: –
    Reference Transactions: –
    Used PayPal Checkout plugin: ?</img>
    Tracking enabled: –
    Admin
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-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: minified-js
    new-product-management-experience
    settings
    Daily Cron: ?</img> Next scheduled: 2022-12-28 03:58:45 -05:00
    Options: ?</img>
    Notes: 112
    Onboarding: completed
    Action Scheduler
    Complete: 6
    Oldest: 2022-12-26 23:18:57 -0500
    Newest: 2022-12-26 23:19:51 -0500
    Pending: 1
    Oldest: 2022-12-27 23:18:57 -0500
    Newest: 2022-12-27 23:18:57 -0500
    Canceled: 0
    Oldest: –
    Newest: –
    In-progress: 0
    Oldest: –
    Newest: –
    Failed: 1
    Oldest: 2022-12-26 23:17:23 -0500
    Newest: 2022-12-26 23:17:23 -0500
    Status report information
    Generated at: 2022-12-26 23:27:41 -05:00
    `

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there @druekberg

    This sounds like a fatal error. Can you retrieve the debug log from this file path: wp-content/debug.log and paste the most recent entries here?

    If you can access your backend still: WooCommerce tries to log fatal errors for you as well. Here is our documentation on how to find and review WooCommerce error logs:?

    https://docs.woocommerce.com/document/finding-php-error-logs/

    500 Internal server errors could be due to a variety of reasons. Can you please try and see if any of the solutions discussed in this tutorial work in your case? https://blog.hubspot.com/marketing/http-500-internal-server-error

    Let us know how it goes.

    Thread Starter David Ruekberg

    (@druekberg)

    Hi @anastas10,

    Thanks for the quick reply. Unfortunately, I don’t have a debug.log. As I was preparing last night’s message I found instructions on how to enable that, so the next time this happens (it happens every time I update WC), I will be able to capture the error.

    In WooCommerce status, there is no “fatal-errors.log”, only “wc-services” going back to 2022-11-28. Which is weird because in order to fix my installation I had to delete the WooCommerce folder in my WP plugins directory so the new one would install, but maybe there is a log hidden in another folder (e.g. “woocommerce-services”).

    Hi @druekberg

    I understand that this only happens every time you update WC.

    If you would like to test once again to find the culprit of this issue, I’d recommend cloning your site to a staging environment without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    Then, please provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    Thanks!

    Thread Starter David Ruekberg

    (@druekberg)

    Yes, I’ve just created a staging site, so the next time WC updates, I’ll test it out there. Hopefully it will save a fatal error log this time. Would that be located in the WC folder? As I said, I have to delete that before I reinstall, but I’ll look before I delete. The other logs show up after the WC folder is deleted (see previous message). Where is the fatal error log stored?

    Hi @druekberg

    Yes, I’ve just created a staging site, so the next time WC updates, I’ll test it out there.

    I totally understand. I will be marking this thread as resolved for now. Should you have further inquiries or experience the same issue again, kindly create a new topic here.

    Where is the fatal error log stored?

    Please refer to this support documentation about Finding PHP Error Logs.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Internal Server Error every time I update WooCommerce’ is closed to new replies.