• Hello,

    I have been encountering a problem recently with my WordPress/WooCommerce installation throwing up an error 500 when I do certain things.

    For example, if I enable the ‘WooThemes Follow-Up Emails’ addon I will get an error 500 until I disable it. I have noticed an Error 500 occurring on occasions when I save an order or input tracking details on an order using “YITH WooCommerce Order Tracking Premium” and saving. Also, I have tried editing my Theme’s function.php to include something similar to this: https://docs.woocommerce.com/document/minimum-order-amount/ and it would Error 500 upon saving, although after investigation it appears that altering the file by even added ‘}’ seem’s to make it error.

    After disabling the addon and reverting back file modifications it seem’s the Error 500 disappears and the website is then live again.

    I have spoken to cPanel as I thought this could of been a server issue but they have come back and said it appear’s to be a WordPress installation issue, however they did point out an issue with MaxRequestWorkers setting. I have since increased this number and recreated the fault today and the error 500 still occurs.

    At the moment I’m currently at a confusion with what exactly the fault could be and how to cure it.

    Error’s I have been getting include:

    The fab-fudge.co.uk page isn’t working
    
    fab-fudge.co.uk is currently unable to handle this request.
    HTTP ERROR 500
    
    ==
    Gateway Timeout
    
    Server error - server 69.162.110.85 is unreachable at this moment.
    
    Please retry the request or contact your administrator.
    ==
    http://imgur.com/a/Ow8Ea.
    ==
    

    My WooCommerce status:

    ### WordPress Environment ###

    Home URL: https://fab-fudge.co.uk
    Site URL: https://fab-fudge.co.uk
    WC Version: 2.6.14
    Log Directory Writable: ✔
    WP Version: 4.7.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_GB

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 5.6.30
    PHP Post Max Size: 48 MB
    PHP Time Limit: 90
    PHP Max Input Vars: 1000
    cURL Version: 7.29.0
    NSS/3.21 Basic ECC

    SUHOSIN Installed: –
    MySQL Version: 5.6.34
    Max Upload Size: 48 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ❌ Your server does not have the SoapClient class enabled – some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ❌ Your server does not support the mbstring functions – this is required for better character encoding. Some fallbacks will be used instead for it.
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 2.6.14
    :
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔

    ### Active Plugins (42) ###

    Duplicator: by Snap Creek – 1.1.30
    Elfsight InstaShow: by Elfsight – 2.1.0
    Google Analytics by MonsterInsights: by MonsterInsights – 5.5.4
    WooCommerce Gift Certificates Pro: by IgniteWoo.com – 3.5.26
    Imagify: by WP Media – 1.6.3
    iThemes Security Pro: by iThemes – 3.0.8
    Jetpack by WordPress.com: by Automattic – 4.5
    WPBakery Visual Composer: by Michael M – WPBakery.com – 5.0.1
    MailChimp for WooCommerce: by MailChimp – 1.0.70
    Max Mega Menu: by Tom Hemsley – 2.3.4
    SUMO Reward Points: by Fantastic Plugins – 16.3
    NextScripts: Social Networks Auto-Poster: by NextScripts – 3.7.15
    Twiget Twitter Widget CUST: by Prasanna SP -C – 1.1.4
    WooCommerce Dynamic Pricing & Discounts: by RightPress – 1.1
    WooCommerce Pretty Emails: by MB Création – 1.7
    WooCommerce Bulk Stock Management: by Automattic – 2.2.2
    WooCommerce Customizer: by SkyVerge – 2.3.1
    WooCommerce PayPal Express Checkout Gateway: by Automattic – 1.1.2
    WooCommerce Google Analytics Pro: by WooThemes / SkyVerge – 1.1.6
    WooCommerce MailChimp Integration: by WooThemes – 1.0.1
    WooCommerce Quick Manual Products: by Ewout Fernhout – 1.0.3
    WooCommerce Order Status Manager: by WooThemes / SkyVerge – 1.6.3
    WooCommerce PDF Invoices & Packing Slips: by Ewout Fernhout – 1.5.38
    WooCommerce PDF Invoices & Packing Slips Premium Templates: by Ewout Fernhout – 2.2.0
    WooCommerce PickingPal: by PickingPal – 1.2.9
    WooCommerce Point of Sale: by Actuality Extensions – 3.1.7
    WooCommerce Product Reviews Pro: by WooThemes / SkyVerge – 1.6.6
    WooCommerce Social Login: by WooThemes / SkyVerge – 2.0.4
    WooCommerce Stock Manager: by Vladislav Musílek – 1.1.3
    WooCommerce Table Rate Shipping: by Bolder Elements – 3.6.6
    WooCommerce: by WooThemes – 2.6.14
    Yoast SEO Premium: by Team Yoast – 3.7.1
    WP Rocket: by WP Media – 2.8.21
    WP Overnight Sidekick: by Jeremiah Prummer – 1.0.1
    Yoast SEO: WooCommerce: by Team Yoast – 3.7
    YITH Donations for WooCommerce Premium: by YITHEMES – 1.0.12
    YITH WooCommerce Ajax Product Filter: by YITHEMES – 3.1.2
    YITH WooCommerce Ajax Search Premium: by YITHEMES – 1.4.9
    YITH WooCommerce Dynamic Pricing and Discounts Premium: by YITHEMES – 1.1.6
    YITH WooCommerce Minimum Maximum Quantity Premium: by YITHEMES – 1.1.9
    YITH WooCommerce Order Tracking Premium: by YITHEMES – 1.2.72
    YITH WooCommerce Sequential Order Number: by Yithemes – 1.0.9

    ### Settings ###

    Force SSL: ✔
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2

    ### API ###

    API Enabled: ✔

    ### WC Pages ###

    Shop Base: #4 – /shop/
    Basket: #5 – /cart/
    Checkout: #6 – /checkout/
    My Account: #7 – /my-account/

    ### Taxonomies ###

    Product Types: external (external)
    gift-card (gift-card)
    grouped (grouped)
    simple (simple)
    variable (variable)

    ### Theme ###

    Name: HandyStore
    Version: 4.10 (see readme.txt for detailed changelog)
    Author URL: https://themes.zone
    Child Theme: ❌ – If you’re modifying WooCommerce on a parent theme you didn’t build personally
    then we recommend using a child theme. See: How to create a child theme

    WooCommerce Support: ✔

    ### Templates ###

    Overrides: handystore/woocommerce/archive-product.php
    handystore/woocommerce/cart/cart.php
    handystore/woocommerce/checkout/review-order.php
    handystore/woocommerce/content-product.php
    handystore/woocommerce/content-widget-product.php
    handystore/woocommerce/loop/add-to-cart.php
    handystore/woocommerce/loop/loop-start.php
    handystore/woocommerce/single-product/product-image.php
    handystore/woocommerce/single-product/rating.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jkility1

    (@jkility1)

    I forgot to add that I enabled Debugging, recreated the fault and instead of seeing a error 500 message it was just a blank white screen with no information being displayed

    Plugin Support Riaan K.

    (@riaanknoetze)

    Are you still experiencing the same issue after deactivating all of your plugins (except WooCommerce) and switching to the default Twenty Sixteen theme? Perhaps also ask your hosting provider for the PHP error log – that should help to identify HTTP 500 errors (which can mean just about anything).

    Thread Starter jkility1

    (@jkility1)

    I do believe I have now found a root cause. After disabling addons 1-by-1 and testing. Disabling “WooCommerce MailChimp Integration” got rid of the Error 500 I would encounter

    Also I was having a problem with WooCommerce Follow-up emails. I have enabled that an the error 500 occurs how after disabling it gets rid of the error 500 too.

    How ever, adding the following code at the end of my functions.php theme file still causes a error 500 which I’m not sure about. However the Error 500 only occurs in the admin panel and not on the front page.

    /* Minimum Order amount */
    add_editor_style( 'custom-editor-style.css' );
    }
    add_action( 'admin_init', 'handy_theme_add_editor_styles' );
    
    add_action( 'woocommerce_checkout_process', 'wc_minimum_order_amount' );
    add_action( 'woocommerce_before_cart' , 'wc_minimum_order_amount' );
    
    function wc_minimum_order_amount() {
    // Set this variable to specify a minimum order value
    $minimum = 4.97;
    
    if ( WC()->cart->total < $minimum ) {
    
    if( is_cart() ) {
    
    wc_print_notice( 
    sprintf( 'You must have an order with a minimum of %s to place your order, your current order total is %s.' , 
    wc_price( $minimum ), 
    wc_price( WC()->cart->total )
    ), 'error' 
    );
    
    } else {
    
    wc_add_notice( 
    sprintf( 'You must have an order with a minimum of %s to place your order, your current order total is %s.' , 
    wc_price( $minimum ), 
    wc_price( WC()->cart->total )
    ), 'error' 
    );
    
    }
    }
    
    }

    i have the same problem with the woocommerce follow up email plugin. if i activate that plugin i get a 500 error when i try to add something to the cart in woocommerce.

    disabling the plugin and all works fine again.

    i did check the error logs, but both my server logs as the wordpress debug didnt output any results

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error 500’ is closed to new replies.