Fatal Error
-
Hi,
When checking out, the customer who is logged in receives the following error:
Warning: Undefined array key “active_discounts” in /var/www/vhosts/DOMAIN/httpdocs/wp-content/plugins/woo-advanced-discounts/includes/class-wad-discount.php on line 546
how can I solve this?
-
Hi @fenomediaal , have you updated the plugin to the latest version ?
Hi,
Yes I did that. The current version is: 2.31.3.
Hi,
I have not yet received a response to the above issue. The problem has not yet been resolved.
Hi @fenomediaal , sorry for the situation. This problem is supposed to be solved in the latest version.
Please can you provide us with your system status?
You can find it in the WooCommerce menu (WooCommerce>Status>System status)Hi,
My system status:
WordPress Environment WC Version: 7.6.0
REST API Version: ? 7.6.0
WC Blocks Version: ? 9.8.4
Action Scheduler Version: ? 3.5.4
Log Directory Writable: ?
WP Version: 6.2
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ?
Language: nl_NL
External object cache: – Server Environment Server Info: Apache
PHP Version: 8.1.13
PHP Post Max Size: 128 MB
PHP Time Limit: 0
PHP Max Input Vars: 1000
cURL Version: 7.84.0
OpenSSL/1.1.1p SUHOSIN Installed: –
MySQL Version: 10.3.35-MariaDB-log
Max Upload Size: 64 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ? Database WC Database Version: 7.6.0
WC Database Prefix: wp_
Totale database grootte: 10.05MB
Database gegevens grootte: 7.14MB
Database index grootte: 2.91MB
wp_woocommerce_sessions: Data: 1.02MB + 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.06MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Data: 0.25MB + Index: 0.25MB + 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_acfw_store_credits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_actionscheduler_actions: Data: 0.17MB + Index: 0.16MB + 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.11MB + Index: 0.09MB + Engine InnoDB
wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_comments: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
wp_facetwp_index: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_iwp_backup_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_iwp_processed_iterator: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_options: Data: 1.09MB + Index: 0.08MB + Engine InnoDB
wp_postmeta: Data: 1.52MB + Index: 0.73MB + Engine InnoDB
wp_posts: Data: 1.52MB + Index: 0.13MB + 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.08MB + Index: 0.03MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.05MB + 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.06MB + 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.02MB + Engine InnoDB
wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + 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
wp_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wdr_order_item_discounts: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_yoast_indexable: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB Post Type Counts acf-field: 77
acf-field-group: 12
agenda: 7
attachment: 209
brouwers_challenge: 1
brouwers-challenge: 1
challenge: 3
flamingo_contact: 48
flamingo_inbound: 74
nav_menu_item: 20
o-discount: 1
o-list: 1
oembed_cache: 11
page: 17
post: 28
product: 70
revision: 377
shop_coupon: 1
shop_order: 133
wpcf7_contact_form: 2 Security Secure connection (HTTPS): ?
Hide errors from visitors: ? Active Plugins (19) InfiniteWP - Client: door Revmakx – 1.11.1
Advanced Custom Fields PRO: door WP Engine – 6.1.4
Age Gate - Leeftijdscontrole: door Phil Baker – 3.2.0
Akismet Anti-Spam: door Automattic – 5.1
Classic Editor: door WordPress Contributors – 1.6.3
Contact Form 7: door Takayuki Miyoshi – 5.7.5.1
Yoast Duplicate Post: door Enrico Battocchi & Team Yoast – 4.5
FacetWP: door FacetWP
LLC – 4.1.8 Flamingo: door Takayuki Miyoshi – 2.3
WooCommerce Load More Products: door BeRocket – 1.1.9.8
Loco Translate: door Tim Whitlock – 2.6.4
Mollie Payments for WooCommerce: door Mollie – 7.3.7
WooCommerce Weight Based Shipping: door weightbasedshipping.com – 5.5.1
Checkout Field Editor for WooCommerce: door ThemeHigh – 1.8.2
Bekijk e-mails voor WooCommerce: door Digamber Pradhan – 2.1.1
MyParcel: door MyParcel – 4.19.1
PDF Invoices & Packing Slips for WooCommerce: door WP Overnight – 3.5.2
WooCommerce: door Automattic – 7.6.0
Yoast SEO: door Team Yoast – 20.5 Inactive Plugins (1) Conditional Discounts for WooCommerce - A simple yet complete woocommerce dynamic pricing plugin: door ORION – 2.31.3 Must Use Plugins (1) InfiniteWP - Client Loader: door Revmakx – 1.0.1 Settings API Enabled: –
Force SSL: –
Currency: EUR (€)
Currency Position: left_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: ?
Enforce Approved Product Download Directories: ?
Order datastore: WC_Order_Data_Store_CPT WC Pages Winkelbasis: #179 - /webshop/
Winkelwagen: #180 - /winkelwagen/
Afrekenen: #181 - /afrekenen/
Mijn account: #182 - /mijn-account/
Algemene voorwaarden: ? Pagina niet ingesteld WooCommerce Support: ? 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: ? Next scheduled: 2023-04-21 10:22:54 +02:00
Options: ?
Notes: 79
Onboarding: completed Action Scheduler Afgerond: 337
Oldest: 2023-03-20 14:03:38 +0100
Newest: 2023-04-19 21:28:09 +0200 Mislukt: 6
Oldest: 2023-02-16 10:39:45 +0100
Newest: 2023-04-14 10:56:25 +0200 In afwachting: 1
Oldest: 2023-04-20 21:28:09 +0200
Newest: 2023-04-20 21:28:09 +0200 Status report information Generated at: 2023-04-20 14:42:51 +02:00
`Hello @fenomediaal,
Version 2.31.3 is the release in which this issue has been resolved.
To better understand the problem you are experiencing, please contact us through our live chat here.
I will take over and assist you in fixing it.
Thank you.- This reply was modified 1 year, 7 months ago by Emmanuel ADEKPLOVI.
I tested it again and the problem seems to be solved. Strange, because in the meantime the plugin has not been updated to my knowledge.
- The topic ‘Fatal Error’ is closed to new replies.