• Resolved stijnwizarts

    (@stijnwizarts)


    I get errors on webshop when 4.6 is active.
    Rolled back to 4.5.4 and ok now.
    Rolled back WooCommerce to 8.4 as well.

    [22-Jan-2024 07:18:45 UTC] PHP Fatal error: Uncaught Error: Undefined constant ADP\BaseVersion\Includes\Core\Cart\CartItem\Type\Basic\BasicCartItem::ATTR_TEMP in /…/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Core/RuleProcessor/RuleSetCollector.php:279
    Stack trace: 0 [internal function]: ADP\BaseVersion\Includes\Core\RuleProcessor\RuleSetCollector->ADP\BaseVersion\Includes\Core\RuleProcessor{closure}(Object(ADP\BaseVersion\Includes\Core\Cart\CartItem\Type\Basic\BasicCartItem)) 1 /…/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Core/RuleProcessor/RuleSetCollector.php(279): array_filter(Array, Object(Closure)) 2 /…/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Core/RuleProcessor/RuleSetCollector.php(334): ADP\BaseVersion\Includes\Core\RuleProcessor\RuleSetCollector->handleUniqueLimitations(‘unique_variatio…’, Array, Object(ADP\BaseVersion\Includes\Core\Rule\Structures\Range), 0) 3 /…/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Core/RuleProcessor/RuleSetCollector.php(236): ADP\BaseVersion\Includes\Core\RuleProcessor\RuleSetCollector->collectSetsLegacy(Object(ADP\BaseVersion\Includes\Core\Cart\Cart)) 4 /…/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Core/RuleProcessor/PackageRuleProcessor.php(385): ADP\BaseVersion\Includes\Core\RuleProcessor\RuleSetCollector->collectSets(Object(ADP\BaseVersion\Includes\Core\Cart\Cart)) 5 /…/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Core/RuleProcessor/PackageRuleProcessor.php(327): ADP\BaseVersion\Includes\Core\RuleProcessor\PackageRuleProcessor->collectSets(Array, Object(ADP\BaseVersion\Includes\Core\Cart\Cart)) 6 /…/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Core/RuleProcessor/PackageRuleProcessor.php(221): ADP\BaseVersion\Includes\Core\RuleProcessor\PackageRuleProcessor->createSets(Object(ADP\BaseVersion\Includes\Core\Cart\Cart)) 7 /…/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Core/RuleProcessor/PackageRuleProcessor.php(173): ADP\BaseVersion\Includes\Core\RuleProcessor\PackageRuleProcessor->process(Object(ADP\BaseVersion\Includes\Core\Cart\Cart)) 8 /…/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Core/CartCalculator.php(143): ADP\BaseVersion\Includes\Core\RuleProcessor\PackageRuleProcessor->applyToCart(Object(ADP\BaseVersion\Includes\Core\Cart\Cart)) 9 /…/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/Core/CartCalculator.php(113): ADP\BaseVersion\Includes\Core\CartCalculator->processCart(Object(ADP\BaseVersion\Includes\Core\Cart\Cart)) 10 /…/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/PriceDisplay/Processor.php(344): ADP\BaseVersion\Includes\Core\CartCalculator->processItem(Object(ADP\BaseVersion\Includes\Core\Cart\Cart), Object(ADP\BaseVersion\Includes\Core\Cart\CartItem\Type\Basic\BasicCartItem)) 11 /…/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/PriceDisplay/Processor.php(148): ADP\BaseVersion\Includes\PriceDisplay\Processor->calculate(46549, 1, Array, Object(WC_Product_Variable)) 12 /…/wp-content/plugins/advanced-dynamic-pricing-for-woocommerce/BaseVersion/Includes/PriceDisplay/PriceDisplay.php(240): ADP\BaseVersion\Includes\PriceDisplay\Processor->calculateProduct(Object(WC_Product_Variable), 1) 13 /…/wp-includes/class-wp-hook.php(324): ADP\BaseVersion\Includes\PriceDisplay\PriceDisplay->hookPriceHtml(‘apply_filters(‘get_price_html() 17 /…/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/data/sites/web…’) 18 /…/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1410): wc_get_template(‘loop/price.php’) 19 /…/wp-includes/class-wp-hook.php(324): woocommerce_template_loop_price(”) 20 /…/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 21 /…/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 22 /…/wp-content/themes/merchandiser/woocommerce/content-product.php(129): do_action(‘woocommerce_aft…’) 23 /…/wp-includes/template.php(792): require(‘/data/sites/web…’) 24 /…/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template(‘/data/sites/web…’, false) 25 /…/wp-content/themes/merchandiser/woocommerce/archive-product.php(137): wc_get_template_part(‘content’, ‘product’) 26 /…/wp-includes/template-loader.php(106): include(‘/data/sites/web…’) 27 /…/wp-blog-header.php(19): require_once(‘/data/sites/web…’) 28 /…/index.php(17): require(‘/data/sites/web…’) 29 {main}

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Errors when active’ is closed to new replies.