Repository Forums Support WooCommerce Extended Coupon Features PRO Applying Free Product Coupon breaks site

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
  • #2469


    I have created a free product coupon, but when i apply it to the basket nothing changes. Then when i refresh the page I get a 500 error.



    Please enable WP_DEBUG_LOG and let me know what error message you get.

    Also paste your WooCommerce System Status Report, please…



    With this enabled, in Chrome all pages are now just blank (including the admin area). In Incognito mode, the basket appears but no product information is displayed. Seems it stops at the header. No error messages were displayed.

    System Status Report

    ### WordPress Environment ###
    Home URL:
    Site URL:
    WC Version: 3.2.6
    Log Directory Writable: ❌ To allow logging
    make /mnt/store/www/vhosts/ writable or define a custom WC_LOG_DIR.
    WP Version: 4.9.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_GB
    ### Server Environment ###
    Server Info: Apache/2.4.7 (Ubuntu)
    PHP Version: 5.6.6
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.35.0
    SUHOSIN Installed: –
    MySQL Version: ❌ 5.5.47 - We recommend a minimum MySQL version of 5.6. See: WordPress requirements
    Max Upload Size: 2 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    ### Database ###
    WC Database Version: 3.2.6
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ❌ The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from to the path: . Scroll down to "Downloads" and download the "Binary / gzip" file next to "GeoLite Country". Please remember to uncompress GeoIP.dat.gz and upload the GeoIP.dat file only.
    Total Database Size: 24.64MB
    Database Data Size: 17.64MB
    Database Index Size: 7.00MB
    wp_woocommerce_sessions: Data: 0.05MB + Index: 0.02MB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_order_items: Data: 0.11MB + Index: 0.06MB
    wp_woocommerce_order_itemmeta: Data: 3.52MB + Index: 1.88MB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    wp_commentmeta: Data: 0.00MB + Index: 0.00MB
    wp_comments: Data: 0.82MB + Index: 0.28MB
    wp_dopbsp_api_keys: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_availability: Data: 0.05MB + Index: 0.05MB
    wp_dopbsp_availability_no: Data: 0.05MB + Index: 0.06MB
    wp_dopbsp_availability_price: Data: 0.05MB + Index: 0.06MB
    wp_dopbsp_calendars: Data: 0.00MB + Index: 0.01MB
    wp_dopbsp_coupons: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_days: Data: 0.54MB + Index: 0.04MB
    wp_dopbsp_days_available: Data: 0.10MB + Index: 0.04MB
    wp_dopbsp_days_unavailable: Data: 0.04MB + Index: 0.03MB
    wp_dopbsp_discounts: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_discounts_items: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_discounts_items_rules: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_emails: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_emails_translation: Data: 0.00MB + Index: 0.01MB
    wp_dopbsp_extras: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_extras_groups: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_extras_groups_items: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_fees: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_forms: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_forms_fields: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_forms_select_options: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_languages: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_locations: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_models: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_reservations: Data: 1.41MB + Index: 0.27MB
    wp_dopbsp_rules: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_searches: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_settings: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_settings_calendar: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_settings_notifications: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_settings_payment: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_settings_search: Data: 0.00MB + Index: 0.00MB
    wp_dopbsp_translation_en: Data: 0.22MB + Index: 0.10MB
    wp_dopbsp_woocommerce: Data: 0.63MB + Index: 0.13MB
    wp_formmaker: Data: 0.08MB + Index: 0.00MB
    wp_formmaker_backup: Data: 0.02MB + Index: 0.00MB
    wp_formmaker_blocked: Data: 0.02MB + Index: 0.00MB
    wp_formmaker_display_options: Data: 0.02MB + Index: 0.02MB
    wp_formmaker_query: Data: 0.02MB + Index: 0.00MB
    wp_formmaker_sessions: Data: 0.02MB + Index: 0.00MB
    wp_formmaker_submits: Data: 0.08MB + Index: 0.00MB
    wp_formmaker_themes: Data: 1.52MB + Index: 0.00MB
    wp_formmaker_views: Data: 0.02MB + Index: 0.00MB
    wp_iwp_backup_status: Data: 0.00MB + Index: 0.00MB
    wp_layerslider: Data: 0.00MB + Index: 0.00MB
    wp_links: Data: 0.00MB + Index: 0.00MB
    wp_options: Data: 1.08MB + Index: 0.05MB
    wp_postmeta: Data: 4.16MB + Index: 2.43MB
    wp_posts: Data: 0.55MB + Index: 0.16MB
    wp_revslider_css: Data: 0.09MB + Index: 0.00MB
    wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB
    wp_revslider_navigations: Data: 0.00MB + Index: 0.00MB
    wp_revslider_sliders: Data: 0.00MB + Index: 0.00MB
    wp_revslider_slides: Data: 0.02MB + Index: 0.00MB
    wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB
    wp_termmeta: Data: 0.00MB + Index: 0.00MB
    wp_terms: Data: 0.00MB + Index: 0.01MB
    wp_term_relationships: Data: 0.00MB + Index: 0.00MB
    wp_term_taxonomy: Data: 0.00MB + Index: 0.00MB
    wp_usermeta: Data: 0.35MB + Index: 0.22MB
    wp_users: Data: 0.03MB + Index: 0.03MB
    wp_wc_booking_relationships: Data: 0.02MB + Index: 0.03MB
    wp_wfBadLeechers: Data: 0.00MB + Index: 0.00MB
    wp_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB
    wp_wfBlocks: Data: 0.00MB + Index: 0.00MB
    wp_wfBlocksAdv: Data: 0.00MB + Index: 0.00MB
    wp_wfConfig: Data: 0.02MB + Index: 0.01MB
    wp_wfCrawlers: Data: 0.00MB + Index: 0.00MB
    wp_wfFileMods: Data: 0.86MB + Index: 0.25MB
    wp_wfHits: Data: 0.41MB + Index: 0.17MB
    wp_wfHoover: Data: 0.02MB + Index: 0.02MB
    wp_wfIssues: Data: 0.02MB + Index: 0.00MB
    wp_wfLeechers: Data: 0.02MB + Index: 0.00MB
    wp_wfLockedOut: Data: 0.02MB + Index: 0.00MB
    wp_wfLocs: Data: 0.02MB + Index: 0.00MB
    wp_wfLogins: Data: 0.02MB + Index: 0.03MB
    wp_wfNet404s: Data: 0.02MB + Index: 0.02MB
    wp_wfReverseCache: Data: 0.02MB + Index: 0.00MB
    wp_wfScanners: Data: 0.02MB + Index: 0.00MB
    wp_wfSNIPCache: Data: 0.02MB + Index: 0.03MB
    wp_wfStatus: Data: 0.16MB + Index: 0.11MB
    wp_wfThrottleLog: Data: 0.02MB + Index: 0.02MB
    wp_wfVulnScanners: Data: 0.02MB + Index: 0.00MB
    wp_yoast_seo_links: Data: 0.02MB + Index: 0.02MB
    wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB
    ### Post Type Counts ###
    attachment: 137
    booking-system: 1
    fmemailverification: 1
    nav_menu_item: 16
    page: 30
    portfolio: 9
    post: 6
    product: 6
    revision: 72
    shop_coupon: 10
    shop_order: 1452
    shop_order_refund: 2
    wc_booking: 8
    wpcf7_contact_form: 3
    ### Security ###
    Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors: ❌Error messages should not be shown to visitors.
    ### Active Plugins (14) ###
    InfiniteWP - Client: by Revmakx –
    Contact Form Maker: by WebDorado Form Builder Team – 1.11.15
    Duplicate Post: by Enrico Battocchi – 3.2.1
    Force Regenerate Thumbnails: by Pedro Elsner – 2.0.6
    Kaweb Version Check: by Kaweb – 1.0.0
    Slider Revolution: by ThemePunch – 5.1.6
    Ultimate Social Media PLUS: by UltimatelySocial – 2.7.5
    WooCommerce Extended Coupon Features PRO: by Soft79 –
    WooCommerce Extended Coupon Features: by Soft79 –
    WooCommerce Bookings: by Automattic – 1.10.11
    WooCommerce WorldPay Gateway: by Add On Enterprises (Andrew Benbow) – 3.6.1 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.2.6
    Yoast SEO: by Team Yoast – 5.9.3
    WP Clone by WP Academy: by WP Academy – 2.2.4
    ### Settings ###
    API Enabled: ✔
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: booking (booking)
    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)
    ### WC Pages ###
    Shop base: #183 - /shop/
    Basket: #184 - /basket/
    Checkout: #185 - /checkout/
    My account: #186 - /my-account/
    Terms and conditions: ❌ Page not set
    ### Theme ###
    Name: Betheme Child
    Version: – 0 is available
    Author URL: 
    Child Theme: ✔
    Parent Theme Name: Betheme
    Parent Theme Version: 20.4.1
    Parent Theme Author URL:
    WooCommerce Support: ✔
    ### Templates ###
    Overrides: betheme/woocommerce/archive-product.php
    betheme/woocommerce/cart/mini-cart.php version 3.1.0 is out of date. The core version is 3.2.0
    Outdated Templates: ❌Learn how to update


    a couple of things here:

    1. You need to make /mnt/store/www/vhosts/ writable
    2. Please uninstall the FREE version of the Extended Coupon Features Plugin. Only use the PRO version
    3. Upgrade Extended Coupon Features to (enter license details at Settings > WooCommerce Extended Coupon Features for automatic upgrades)

    If the above doesn’t fix the issue, please enable WP_DEBUG and WP_DEBUG_LOG or WP_DEBUG_DISPLAY and send me the error message you get in debug.log .



    This didn’t fix the issue here is what is in the debug.log file

    [09-Jan-2018 14:16:13 UTC] The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url.
    [09-Jan-2018 14:16:13 UTC] The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url.
    [09-Jan-2018 14:16:20 UTC] The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url.
    [09-Jan-2018 14:16:20 UTC] The WC_Cart::get_cart_url function is deprecated since version 2.5. Replace with wc_get_cart_url.


    That error message is not related. How can I reproduce the error on your site? I.e. what is the coupon code and what are the requirements to apply it?


    The coupon code is Nestle and it should add on a Free child ticket with every adult ticket in the basket.


    I tried it several times on your staging site, but don’t get a 500 error or blank page. Please tell me exactly how to reproduce the error.


    When i visit the URL and add an adult ticket to the basket. After applying the Nestle coupon nothing changes. If i then refresh the page it shows a blank page.


    I am no longer getting a blank page when applying the coupon, just what appears to be a broken basket page (just shows the head)



    yes, now I see a semi-blank page, but the response code is 200 and I see no fatal error in the debug.log. This looks like it’s a die() or exit in PHP. Is that possible? Do you have any custom script in functions.php?



    No the only functions.php file i have edited/added is the one in the child theme, which just includes the parent theme style sheet.

    I just tried deactivating the WooCommerce Coupon Extended Pro Version plugin and all works as it should, however I do need this plugin to apply my coupons.


    Hmm… I’m afraid I need ftp and wp-admin access to your staging site to resolve this. Can you please send me credentials to admin at



    I performed some further tests. It seems that the booking plugin causes the crash when the free ‘child’-ticket doesn’t have it’s meta-data set; which makes sense because a booking needs a date. When I replace the free child ticket by a free simple product, the site keeps working…

    Instead of adding the child-ticket would it be an option to offer a 100% discount on every 2nd ticket in the cart when the coupon is applied?

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.