Support » Plugin: Advanced Dynamic Pricing for WooCommerce » Fatal error: Uncaught Error

  • Resolved undoIT


    I am getting the following error when I view order details for an existing order that has a bundle discount attached:

    Fatal error: Uncaught Error: Cannot instantiate interface ADP\BaseVersion\Includes\Cart\Structures\Coupon in /home/user/public_html/wp-includes/functions.php:624 Stack trace: #0 /home/user/public_html/wp-includes/functions.php(624): unserialize() #1 /home/user/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(560): maybe_unserialize() #2 /home/user/public_html/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-item-type-data-store.php(144): WC_Data->read_meta_data() #3 /home/user/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-item-coupon-data-store.php(34): Abstract_WC_Order_Item_Type_Data_Store->read() #4 /home/user/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): WC_Order_Item_Coupon_Data_Store->read() #5 /home/user/public_html/wp-content/plugins/woocommerce/includes/class-wc-order-item.php(74): WC_Data_Store->read() #6 /home/user in /home/user/public_html/wp-includes/functions.php on line 624
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    Also, Pirate Ship got disconnected and it was not possible to integrate again until after Advanced Dynamic Pricing for WooCommerce had been deactivated.

    Furthermore, clicking the Get System Report takes me to a page on frontend shop with ?wdp_bounce_back=1 appended to the URL and no system report.

    The fatal error was not present in version 3.0.4.

    • This topic was modified 1 year, 8 months ago by undoIT.
    • This topic was modified 1 year, 8 months ago by Yui.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author



    Could share the screenshot of applied rule?
    Thanks, Alex

    Thread Starter undoIT


    Hi Alex,

    There are four pricing rules active on this site, 1 bulk discount and 3 bundle discounts. The bulk discount is not affected. Obviously, the error is related to retrieving order item meta data for the coupons generated by this type of discount. I am attaching a screenshot of one of the bundle discount rules:

    Pricing Rule Screenshot

    In the screenshot, you will also see another bug that added SKUs appear as “undefined” after the rule has been saved and the page reloaded. However, the rule still works on the frontend and SKUs are properly defined. If you need additional information or screenshots, please let me know.

    Hi, undoit,

    Could you send us a ticket in the helpdesk?

    This has been fixed in the new version 3.0.9.

    Thread Starter undoIT


    Thank you kindly for the update! I will install tomorrow, test and report back.

    Ok, see you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error: Uncaught Error’ is closed to new replies.