Hi,
Thank you for your quick response.
There is no similarities between the products and the phenomenon seems to be happening at completely random times. Sometimes the products follow the amount dictated by the ERP perfectly for weeks before resetting to 0, other times they don’t last longer than a couple of hours after having been manually reset. I even tried to carry out all WooCommerce related CronJobs individually (and together as well) to see if any of them were causing the issue, but that was not the case.
I use an ERP system called Xentral, it has been working without issue so far for the past 3 years, and the REST-API integration between Xentral and WooCommerce has not been changed since then.
I will just proceed to paste in my Fatal error log below:
2024-06-19T17:44:44+00:00 Kritisch Uncaught Error: Call to a member function get_id() on bool in /var/www/vhosts/araxxon.de/httpdocs/wp-content/plugins/tier-pricing-table-premium/src/Addons/GlobalTieredPricing/GlobalPricingRule.php:655 CONTEXT: {“error”:{“type”:1,”file”:”\/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-content\/plugins\/tier-pricing-table-premium\/src\/Addons\/GlobalTieredPricing\/GlobalPricingRule.php”,”line”:655},”backtrace”:[“”,”#0 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-content\/plugins\/tier-pricing-table-premium\/src\/Addons\/GlobalTieredPricing\/GlobalPricingRule.php(597): TierPricingTable\\Addons\\GlobalTieredPricing\\GlobalPricingRule->_matchRequirements()”,”#1 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-content\/plugins\/tier-pricing-table-premium\/src\/Addons\/GlobalTieredPricing\/GlobalPricingRulesRepository.php(55): TierPricingTable\\Addons\\GlobalTieredPricing\\GlobalPricingRule->matchRequirements()”,”#2 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-content\/plugins\/tier-pricing-table-premium\/src\/Addons\/GlobalTieredPricing\/PricingService.php(43): TierPricingTable\\Addons\\GlobalTieredPricing\\GlobalPricingRulesRepository->getMatchedPricingRule()”,”#3 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-includes\/class-wp-hook.php(324): TierPricingTable\\Addons\\GlobalTieredPricing\\PricingService->addPricing()”,”#4 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-includes\/plugin.php(205): WP_Hook->apply_filters()”,”#5 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-content\/plugins\/tier-pricing-table-premium\/src\/PriceManager.php(431): apply_filters()”,”#6 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-content\/plugins\/tier-pricing-table-premium\/src\/Services\/RegularPricingService.php(78): TierPricingTable\\PriceManager::getPricingRule()”,”#7 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-content\/plugins\/tier-pricing-table-premium\/src\/Services\/RegularPricingService.php(176): TierPricingTable\\Services\\RegularPricingService->getPrice()”,”#8 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-includes\/class-wp-hook.php(324): TierPricingTable\\Services\\RegularPricingService->adjustRegularPrice()”,”#9 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-includes\/plugin.php(205): WP_Hook->apply_filters()”,”#10 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-content\/plugins\/woocommerce\/includes\/abstracts\/abstract-wc-data.php(884): apply_filters()”,”#11 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-content\/plugins\/woocommerce\/includes\/abstracts\/abstract-wc-product.php(280): WC_Data->get_prop()”,”#12 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-content\/plugins\/facebook-for-woocommerce\/includes\/Products.php(349): WC_Product->get_regular_price()”,”#13 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-content\/plugins\/facebook-for-woocommerce\/includes\/ProductSync\/ProductValidator.php(371): WooCommerce\\Facebook\\Products::get_product_price()”,”#14 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-content\/plugins\/facebook-for-woocommerce\/includes\/ProductSync\/ProductValidator.php(156): WooCommerce\\Facebook\\ProductSync\\ProductValidator->validate_product_price()”,”#15 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-content\/plugins\/facebook-for-woocommerce\/includes\/Products.php(207): WooCommerce\\Facebook\\ProductSync\\ProductValidator->validate_but_skip_status_check()”,”#16 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-content\/plugins\/facebook-for-woocommerce\/facebook-commerce.php(896): WooCommerce\\Facebook\\Products::published_product_should_be_synced()”,”#17 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-includes\/class-wp-hook.php(326): WC_Facebookcommerce_Integration->on_product_delete()”,”#18 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()”,”#19 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-includes\/plugin.php(517): WP_Hook->do_action()”,”#20 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-includes\/post.php(3512): do_action()”,”#21 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-includes\/functions.php(6807): wp_delete_post()”,”#22 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-includes\/class-wp-hook.php(324): wp_scheduled_delete()”,”#23 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()”,”#24 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-includes\/plugin.php(565): WP_Hook->do_action()”,”#25 \/var\/www\/vhosts\/araxxon.de\/httpdocs\/wp-cron.php(191): do_action_ref_array()”,”#26 {main}”,”thrown”]}
I don’t know if any of this may be of use, but I’m hopeful we can find the issue.
Once again I thank you for your time, and wish you a nice day!