Support » Plugin: WooCommerce » wc_get_price_excluding_tax E_ERROR was caused
wc_get_price_excluding_tax E_ERROR was caused
-
When using the wc_get_price_excluding_tax function in our plugin like this:
$float_system_net_price = floatval(wc_get_price_excluding_tax( $product ));
One of our users gets this error message:
An error of type E_ERROR was caused in line 1083 of the file /home/customer/www/xxx/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php. Error message: Uncaught Error: Unsupported operand types in /home/customer/www/xxx/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1083
#0 /home/customer/www/xxx/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2876): wc_get_price_excluding_tax(Object(WC_Product_Simple))Can you tell us what is causing this and how to prevent this from happening?
-
Hello there,
Can you tell me which version of
PHP
are you using on your site?For a reference you can check this page where this error is explained.
For us to understand the site setup much better, please provide a copy of your site’s System Status? You can find it via
WooCommerce > Status
. Select “Get system report” and then “Copy for support”.Thank you.
Hi
Thanks for coming back to us…
The site is running on ultra fast PHP 7.4.28 on siteground
———————————
Here is the status report
——————————–
### WordPress Environment ### WordPress address (URL): https://dev.ozpilot.com.au Site address (URL): https://dev.ozpilot.com.au WC Version: 6.3.1 REST API Version: ✔ 6.3.1 WC Blocks Version: ✔ 6.9.0 Action Scheduler Version: ✔ 3.4.0 WC Admin Version: ✔ 3.3.0 Log Directory Writable: ✔ WP Version: 5.9.2 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ✔ Language: en_GB External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.4.28 PHP Post Max Size: 256 MB PHP Time Limit: 120 PHP Max Input Vars: 3000 cURL Version: 7.66.0 OpenSSL/1.1.1n-fips SUHOSIN Installed: – MySQL Version: 5.7.32-35-log Max Upload Size: 256 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 6.3.0 WC Database Prefix: zqg_ Total Database Size: 169.61MB Database Data Size: 124.17MB Database Index Size: 45.44MB zqg_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB zqg_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB zqg_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_woocommerce_payment_tokenmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB zqg_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_actionscheduler_actions: Data: 3.02MB + Index: 4.14MB + Engine InnoDB zqg_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_actionscheduler_logs: Data: 3.02MB + Index: 3.28MB + Engine InnoDB zqg_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_aelia_dismissed_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_aelia_exchange_rates_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_aws_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_aws_index: Data: 10.44MB + Index: 9.83MB + Engine InnoDB zqg_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_braapf_product_stock_status_parent: Data: 0.11MB + Index: 0.06MB + Engine InnoDB zqg_braapf_product_variation_attributes: Data: 0.09MB + Index: 0.22MB + Engine InnoDB zqg_braapf_term_taxonomy_hierarchical: Data: 0.02MB + Index: 0.05MB + Engine InnoDB zqg_braapf_variable_attributes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_cartflows_ca_cart_abandonment: Data: 0.17MB + Index: 0.02MB + Engine InnoDB zqg_cartflows_ca_email_history: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_categorymeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_cli_cookie_scan_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB zqg_ddp_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_gglcptch_allowlist: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_giftvouchers_activity: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_giftvouchers_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_giftvouchers_setting: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_giftvouchers_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_hidemysiteSecure: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_hidemysitesecure: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_mclean_refs: Data: 0.16MB + Index: 0.00MB + Engine InnoDB zqg_mclean_scan: Data: 0.22MB + Index: 0.06MB + Engine InnoDB zqg_member_catmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_options: Data: 14.23MB + Index: 0.36MB + Engine InnoDB zqg_pmxe_exports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB zqg_pmxe_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_pmxi_hash: Data: 1.52MB + Index: 0.00MB + Engine InnoDB zqg_pmxi_history: Data: 0.06MB + Index: 0.00MB + Engine InnoDB zqg_pmxi_images: Data: 0.22MB + Index: 0.00MB + Engine InnoDB zqg_pmxi_imports: Data: 11.52MB + Index: 0.00MB + Engine InnoDB zqg_pmxi_posts: Data: 0.27MB + Index: 0.00MB + Engine InnoDB zqg_pmxi_templates: Data: 0.17MB + Index: 0.00MB + Engine InnoDB zqg_portfolio_catmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_postmeta: Data: 19.55MB + Index: 10.89MB + Engine InnoDB zqg_posts: Data: 5.48MB + Index: 1.02MB + Engine InnoDB zqg_product_catmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_rank_math_sc_analytics: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_rapidload_job: Data: 1.52MB + Index: 0.00MB + Engine InnoDB zqg_rapidload_job_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_rapidload_uucss_job: Data: 32.56MB + Index: 0.00MB + Engine InnoDB zqg_rapidload_uucss_rule: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_redirection_404: Data: 0.27MB + Index: 0.05MB + Engine InnoDB zqg_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_redirection_items: Data: 0.11MB + Index: 0.16MB + Engine InnoDB zqg_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB zqg_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_sm_advanced_search_temp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_sm_views: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_sp_cu: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_sp_cu_cats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_sp_cu_event_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM zqg_sp_cu_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_sp_cu_form_entries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_sp_cu_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_sp_cu_groups_assign: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_sp_cu_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_sp_cu_project: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_stock_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_termmeta: Data: 2.50MB + Index: 3.03MB + Engine InnoDB zqg_terms: Data: 0.38MB + Index: 0.42MB + Engine InnoDB zqg_term_relationships: Data: 0.50MB + Index: 0.39MB + Engine InnoDB zqg_term_taxonomy: Data: 0.39MB + Index: 0.42MB + Engine InnoDB zqg_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_usermeta: Data: 2.48MB + Index: 3.03MB + Engine InnoDB zqg_users: Data: 0.11MB + Index: 0.14MB + Engine InnoDB zqg_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB zqg_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_wc_category_lookup: Data: 0.06MB + Index: 0.00MB + Engine InnoDB zqg_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_wc_order_composite_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB zqg_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB zqg_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB zqg_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB zqg_wc_product_meta_lookup: Data: 0.31MB + Index: 0.48MB + Engine InnoDB zqg_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_wdr_order_item_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_wdr_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB zqg_yoast_indexable: Data: 5.52MB + Index: 4.20MB + Engine InnoDB zqg_yoast_indexable_hierarchy: Data: 1.48MB + Index: 0.83MB + Engine InnoDB zqg_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB zqg_yoast_primary_term: Data: 0.09MB + Index: 0.09MB + Engine InnoDB zqg_yoast_prominent_words: Data: 0.28MB + Index: 0.52MB + Engine InnoDB zqg_yoast_seo_links: Data: 1.52MB + Index: 0.27MB + Engine InnoDB zqg_yoast_seo_meta: Data: 1.52MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### acf-field: 1 acf-field-group: 1 attachment: 2873 br_product_filter: 13 cpt_variation_fields: 1 custom_css: 1 custom-css-js: 1 customize_changeset: 6 faq: 1 ffw: 1 gift_card: 1 ml-slide: 7 ml-slider: 1 nav_menu_item: 228 oembed_cache: 2 page: 32 porto_builder: 15 post: 24 product: 1458 product_variation: 707 revision: 69 shop_coupon: 8 shop_order: 7 sp_wps_shortcodes: 1 ufaq: 2 wp_block: 1 wp_global_styles: 1 wpforms: 2 wpgv_voucher_product: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (63) ### Admin CSS MU: by Arun Basil Lal – 2.6 Advanced Custom Fields: by Delicious Brains – 5.12.1 Advanced Woo Search: by ILLID – 2.51 Autoptimize: by Frank Goossens (futtta) – 2.9.5.1 Better Search Replace: by Delicious Brains – 1.3.4 Block Visibility: by Nick Diego – 2.3.1 BIALTY - Bulk Image Alt Text (Alt tag, Alt Attribute) with Yoast SEO + WooCommerce: by Pagup – 1.4.5.0 Cookie Notice & Compliance for GDPR / CCPA: by Hu-manity.co – 2.2.3 Custom Product Tabs WP All Import Add-on: by YIKES Inc. – 2.0.4 EWD Premium Helper: by Etoile Web Design – 0.0.19 Export All URLs: by Atlas Gondal – 4.3 Mendelssohn Pilot Supplies: by pfleming33 – 2020.05.07 reCaptcha by BestWebSoft: by BestWebSoft – 1.66 Health Check & Troubleshooting: by The WordPress.org community – 1.4.5 WPBakery Page Builder: by Michael M - WPBakery.com – 6.7.0 Maintenance mode for WooCommerce: by netfett – 1.0.15 Markup by Attribute for WooCommerce: by MarkTomlinson – 3.10.5 MetaSlider: by MetaSlider – 3.27.3 Mobile Menu: by Freshlight Lab – 2.8.2.7 Perfmatters: by forgemedia – 1.7.8 Porto Theme - Functionality: by P-Themes – 2.2.4 Quick Empty Trash: by Hugh Lashbrooke – 1.0 Redirection: by John Godley – 5.2.3 SiteGround Optimizer: by SiteGround – 7.0.7 WooCommerce - Show only lowest prices in variable products: by Fernando Tellado – 0.9.30 WooCommerce Side Cart: by XootiX – 2.1 Smart Manager For WooCommerce – Stock Management, Bulk Edit & more...: by StoreApps – 5.38.0 Hide SEO Bloat: by SO WP – 3.14.8 Woocommerce Table Rate Shipping Pro: by JEM Plugins – 2.2 Category Order and Taxonomy Terms Order: by Nsp-Code – 1.6 Ultimate FAQ - WordPress FAQ and Accordion Plugin: by – 2.1.11 RapidLoad Power-Up for Autoptimize: by RapidLoad – 1.6.22 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.22.11 WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.13 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.6.0 WooCommerce Country Based Bank Accounts: by Marian Kadanka – 2.0 WooCommerce Custom Product Addons (Free): by Acowebs – 2.6.1 Woo Discount Rules PRO 2.0: by Flycart – 2.3.8 Woo Discount Rules: by Flycart – 2.3.13 Product Feed PRO for WooCommerce: by AdTribes.io – 11.4.8 Product Slider for WooCommerce: by ShapedPlugin – 2.5.2 WooCommerce Admin: by WooCommerce – 3.3.0 Advanced AJAX Product Filters for WooCommerce: by BeRocket – 1.6.1.5 WooCommerce Composite Products: by WooCommerce – 8.3.8 WOOCS - WooCommerce Currency Switcher: by realmag777 – 1.3.7.5 WooCommerce Customer/Order/Coupon CSV Import Suite: by SkyVerge – 3.10.2 WooCommerce Eway Payment Gateway: by WooCommerce – 3.4.1 WooMultistore: by Lykke Media AS – 4.5.8 WooCommerce Product Primary Category: by BeoCode.d.o.o. – 0.1.2 WooCommerce Shipping & Tax: by WooCommerce – 1.25.24 (update to version 1.25.25 is available) WooCommerce: by Automattic – 6.3.1 Yoast SEO Premium: by Team Yoast – 17.2 Yoast SEO: by Team Yoast – 18.4.1 WP All Import Pro: by Soflyy – 4.6.7 WP Crontrol: by John Blackbourn & contributors – 1.12.0 WP Sitemap Page: by Tony Archambeau – 1.9.1 WP All Import - WooCommerce Import Add-On Pro: by Soflyy – 3.3.0 WPForms Lite: by WPForms – 1.7.3 WPSSO Core (Premium): by JS Morisset – 12.0.0 WPSSO Update Manager: by JS Morisset – 4.12.3 WPSSO Product Metadata for WooCommerce SEO: by JS Morisset – 1.13.1 WPSSO Shipping Delivery Time for WooCommerce SEO: by JS Morisset – 2.7.1 WP All Import - Yoast WordPress SEO Add-On: by Soflyy – 1.1.8 ### Inactive Plugins (0) ### ### Must Use Plugins (1) ### Health Check Troubleshooting Mode: by – 1.7.2 ### Settings ### API Enabled: – Force SSL: – Currency: AUD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: simple (simple) grouped (grouped) variable (variable) external (external) gift-card (gift-card) composite (composite) Taxonomies: Product Visibility: exclude-from-search (exclude-from-search) exclude-from-catalog (exclude-from-catalog) 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: ✔ ### WC Pages ### Shop base: #6 - /shop/ Basket: #208 - /cart/ Checkout: #8 - /checkout/ My account: #9 - /my-account/ Terms and conditions: #2394 - /terms-and-conditions/ ### Theme ### Name: Porto Child Version: 1.1 Author URL: https://www.portotheme.com/ Child Theme: ✔ Parent Theme Name: Porto Parent Theme Version: 6.2.6 Parent Theme Author URL: https://www.portotheme.com/ WooCommerce Support: ✔ ### Templates ### Overrides: porto/woocommerce/archive-product.php porto/woocommerce/cart/cart-empty.php porto/woocommerce/cart/cart-shipping.php porto/woocommerce/cart/cart-totals.php porto/woocommerce/cart/cart.php porto/woocommerce/cart/cross-sells.php porto/woocommerce/cart/mini-cart.php porto/woocommerce/cart/proceed-to-checkout-button.php porto/woocommerce/cart/shipping-calculator.php porto/woocommerce/checkout/form-billing.php porto/woocommerce/checkout/form-checkout.php porto/woocommerce/checkout/form-coupon.php porto/woocommerce/checkout/form-login.php porto/woocommerce/checkout/form-pay.php porto/woocommerce/checkout/form-shipping.php porto/woocommerce/checkout/payment-method.php porto/woocommerce/checkout/payment.php porto/woocommerce/checkout/review-order.php porto/woocommerce/checkout/thankyou.php porto/woocommerce/content-product-cat.php porto/woocommerce/content-product.php porto/woocommerce/content-single-product.php porto/woocommerce/content-widget-product.php porto/woocommerce/global/form-login.php porto/woocommerce/global/quantity-input.php porto/woocommerce/global/wrapper-start.php porto/woocommerce/loop/add-to-cart.php porto/woocommerce/loop/loop-end.php porto/woocommerce/loop/loop-start.php porto/woocommerce/loop/no-products-found.php porto/woocommerce/loop/orderby.php porto/woocommerce/loop/pagination.php porto/woocommerce/loop/rating.php porto/woocommerce/loop/sale-flash.php porto/woocommerce/myaccount/dashboard.php porto/woocommerce/myaccount/downloads.php porto/woocommerce/myaccount/form-add-payment-method.php porto/woocommerce/myaccount/form-edit-account.php porto/woocommerce/myaccount/form-edit-address.php porto/woocommerce/myaccount/form-login.php porto/woocommerce/myaccount/form-lost-password.php porto/woocommerce/myaccount/form-reset-password.php porto/woocommerce/myaccount/lost-password-confirmation.php porto/woocommerce/myaccount/my-account.php porto/woocommerce/myaccount/my-address.php porto/woocommerce/myaccount/my-downloads.php porto/woocommerce/myaccount/my-orders.php porto/woocommerce/myaccount/navigation.php porto/woocommerce/myaccount/orders.php porto/woocommerce/myaccount/payment-methods.php porto/woocommerce/myaccount/view-order.php porto/woocommerce/order/form-tracking.php porto/woocommerce/order/order-details-customer.php porto/woocommerce/order/order-details.php porto/woocommerce/order/order-downloads.php porto/woocommerce/order/tracking.php porto/woocommerce/single-product/add-to-cart/simple.php porto/woocommerce/single-product/add-to-cart/variable.php porto/woocommerce/single-product/meta.php porto/woocommerce/single-product/product-attributes.php porto/woocommerce/single-product/product-image.php porto/woocommerce/single-product/product-thumbnails.php porto/woocommerce/single-product/rating.php porto/woocommerce/single-product/related.php porto/woocommerce/single-product/review-meta.php porto/woocommerce/single-product/review-rating.php porto/woocommerce/single-product/review.php porto/woocommerce/single-product/sale-flash.php porto/woocommerce/single-product/short-description.php porto/woocommerce/single-product/tabs/tabs.php porto/woocommerce/single-product/title.php porto/woocommerce/single-product/up-sells.php porto/woocommerce/single-product-reviews.php ### Composite Products ### Database Version: 8.3.8 Loopback Test: ✔ Template Overrides: – ### Action Scheduler ### Complete: 3,908 Oldest: 2022-01-19 11:31:53 +0000 Newest: 2022-03-29 16:50:53 +0100 Pending: 26 Oldest: 2022-03-29 23:29:14 +0100 Newest: 2022-04-05 16:50:53 +0100 ### Status report information ### Generated at: 2022-03-30 09:20:42 +01:00
Hello,
Thanks for sharing the system report!
From reading your initial topic in Product Feed PRO’s forum, it’s my understanding that
dev.ozpilot.com.au
is a staging site created from a live site where this error isn’t showing, right?You mention you have already disabled other plugins and that the critical error only happens with Product Feed PRO enabled, correct?
I see you have 26 actions pending in the action scheduler. Can you look in WooCommerce > Status > Scheduled Actions and see if anything’s out of the ordinary there?
Also, is there any error log in WooCommerce > Status > Logs?
Scheduled actions looksfine, all wp-cron have run correctly…
Here is the log from trying to run today…
04-05-2022 @ 14:24:46 - <!-- Start new QUERY --> 04-05-2022 @ 14:24:46 - Array ( [posts_per_page] => 565 [offset] => 0 [post_type] => Array ( [0] => product [1] => product_variation ) [post_status] => publish [fields] => ids [no_found_rows] => 1 ) 04-05-2022 @ 14:24:46 - <!-- START new QUERY --> 04-05-2022 @ 14:56:42 - <!-- Start processing new product --> 04-05-2022 @ 14:56:42 - In update_project function 04-05-2022 @ 14:56:42 - <!-- End processing product --> 04-05-2022 @ 14:56:42 - <!-- Start processing new product --> 04-05-2022 @ 14:56:42 - BRrz5l0fhRVYKe6BiaSKJ6aDH8TFVti8 04-05-2022 @ 14:56:42 - <!-- End processing product --> 04-05-2022 @ 14:56:49 - <!-- Start processing new product --> 04-05-2022 @ 14:56:49 - In update_project function 04-05-2022 @ 14:56:49 - <!-- End processing product --> 04-05-2022 @ 14:57:08 - <!-- Start processing new product --> 04-05-2022 @ 14:57:08 - In update_project function 04-05-2022 @ 14:57:08 - <!-- End processing product --> 04-05-2022 @ 14:57:12 - <!-- Start processing new product --> 04-05-2022 @ 14:57:12 - In update_project function 04-05-2022 @ 14:57:12 - <!-- End processing product --> 04-05-2022 @ 14:57:19 - <!-- Start processing new product --> 04-05-2022 @ 14:57:19 - In update_project function 04-05-2022 @ 14:57:19 - <!-- End processing product --> 04-05-2022 @ 14:57:19 - <!-- Start new QUERY --> 04-05-2022 @ 14:57:19 - Array ( [posts_per_page] => 445 [offset] => 0 [post_type] => Array ( [0] => product ) [post_status] => publish [fields] => ids [no_found_rows] => 1 ) 04-05-2022 @ 14:57:19 - <!-- START new QUERY -->
The logs you just shared are the logs from our plugin, they are requesting your general WooCommerce logs:
Also, is there any error log in WooCommerce > Status > Logs?
This is teh fatal errors log from yesterday, not sure what else to send??
2022-04-05T13:24:47+00:00 CRITICAL Uncaught Error: Unsupported operand types in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1083 Stack trace: #0 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2882): wc_get_price_excluding_tax(Object(WC_Product_Simple)) #1 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4556): WooSEA_Get_Products->woosea_get_products(Array) #2 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(2189): woosea_continue_batch('uJogWF2ZdVZwTYE...') #3 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(307): woosea_project_refresh('') #4 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /home/customer/www/ozpilot.com.au/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #6 /home/c in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1083 2022-04-05T13:57:19+00:00 CRITICAL Uncaught Error: Unsupported operand types in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1083 Stack trace: #0 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2882): wc_get_price_excluding_tax(Object(WC_Product_Simple)) #1 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4556): WooSEA_Get_Products->woosea_get_products(Array) #2 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4363): woosea_continue_batch('BRrz5l0fhRVYKe6...') #3 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(307): woosea_generate_pages('') #4 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /home/customer/www/ozpilot.com.au/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #6 /home/cu in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1083 2022-04-05T14:27:44+00:00 CRITICAL Uncaught Error: Unsupported operand types in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1083 Stack trace: #0 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2882): wc_get_price_excluding_tax(Object(WC_Product_Simple)) #1 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4556): WooSEA_Get_Products->woosea_get_products(Array) #2 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4481): woosea_continue_batch('BRrz5l0fhRVYKe6...') #3 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(307): woosea_create_all_feeds() #4 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /home/customer/www/ozpilot.com.au/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #6 /home/cu in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1083 2022-04-05T15:24:25+00:00 CRITICAL Uncaught Error: Unsupported operand types in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1083 Stack trace: #0 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2882): wc_get_price_excluding_tax(Object(WC_Product_Simple)) #1 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4556): WooSEA_Get_Products->woosea_get_products(Array) #2 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4481): woosea_continue_batch('BRrz5l0fhRVYKe6...') #3 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(307): woosea_create_all_feeds() #4 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /home/customer/www/ozpilot.com.au/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #6 /home/cu in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1083 2022-04-05T16:24:16+00:00 CRITICAL Uncaught Error: Unsupported operand types in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1083 Stack trace: #0 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2882): wc_get_price_excluding_tax(Object(WC_Product_Simple)) #1 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4556): WooSEA_Get_Products->woosea_get_products(Array) #2 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4481): woosea_continue_batch('BRrz5l0fhRVYKe6...') #3 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(307): woosea_create_all_feeds() #4 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /home/customer/www/ozpilot.com.au/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #6 /home/cu in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1083 2022-04-05T17:24:30+00:00 CRITICAL Uncaught Error: Unsupported operand types in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1083 Stack trace: #0 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2882): wc_get_price_excluding_tax(Object(WC_Product_Simple)) #1 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4556): WooSEA_Get_Products->woosea_get_products(Array) #2 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4481): woosea_continue_batch('BRrz5l0fhRVYKe6...') #3 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(307): woosea_create_all_feeds() #4 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /home/customer/www/ozpilot.com.au/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #6 /home/cu in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1083 2022-04-05T18:24:21+00:00 CRITICAL Uncaught Error: Unsupported operand types in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1083 Stack trace: #0 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2882): wc_get_price_excluding_tax(Object(WC_Product_Simple)) #1 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4556): WooSEA_Get_Products->woosea_get_products(Array) #2 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4481): woosea_continue_batch('BRrz5l0fhRVYKe6...') #3 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(307): woosea_create_all_feeds() #4 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /home/customer/www/ozpilot.com.au/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #6 /home/cu in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1083 2022-04-05T19:24:31+00:00 CRITICAL Uncaught Error: Unsupported operand types in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1083 Stack trace: #0 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2882): wc_get_price_excluding_tax(Object(WC_Product_Simple)) #1 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4556): WooSEA_Get_Products->woosea_get_products(Array) #2 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4481): woosea_continue_batch('BRrz5l0fhRVYKe6...') #3 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(307): woosea_create_all_feeds() #4 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /home/customer/www/ozpilot.com.au/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #6 /home/cu in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1083 2022-04-05T20:24:19+00:00 CRITICAL Uncaught Error: Unsupported operand types in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1083 Stack trace: #0 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2882): wc_get_price_excluding_tax(Object(WC_Product_Simple)) #1 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4556): WooSEA_Get_Products->woosea_get_products(Array) #2 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4481): woosea_continue_batch('BRrz5l0fhRVYKe6...') #3 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(307): woosea_create_all_feeds() #4 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /home/customer/www/ozpilot.com.au/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #6 /home/cu in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1083 2022-04-05T21:25:22+00:00 CRITICAL Uncaught Error: Unsupported operand types in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1083 Stack trace: #0 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2882): wc_get_price_excluding_tax(Object(WC_Product_Simple)) #1 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4556): WooSEA_Get_Products->woosea_get_products(Array) #2 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4481): woosea_continue_batch('BRrz5l0fhRVYKe6...') #3 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(307): woosea_create_all_feeds() #4 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /home/customer/www/ozpilot.com.au/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #6 /home/cu in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1083 2022-04-05T22:24:31+00:00 CRITICAL Uncaught Error: Unsupported operand types in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1083 Stack trace: #0 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2882): wc_get_price_excluding_tax(Object(WC_Product_Simple)) #1 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4556): WooSEA_Get_Products->woosea_get_products(Array) #2 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4481): woosea_continue_batch('BRrz5l0fhRVYKe6...') #3 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(307): woosea_create_all_feeds() #4 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /home/customer/www/ozpilot.com.au/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #6 /home/cu in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1083 2022-04-05T23:24:13+00:00 CRITICAL Uncaught Error: Unsupported operand types in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php:1083 Stack trace: #0 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/classes/class-get-products.php(2882): wc_get_price_excluding_tax(Object(WC_Product_Simple)) #1 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4556): WooSEA_Get_Products->woosea_get_products(Array) #2 /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woo-product-feed-pro/woocommerce-sea.php(4481): woosea_continue_batch('BRrz5l0fhRVYKe6...') #3 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(307): woosea_create_all_feeds() #4 /home/customer/www/ozpilot.com.au/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 /home/customer/www/ozpilot.com.au/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #6 /home/cu in /home/customer/www/ozpilot.com.au/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php on line 1083
Hello,
Thanks for writing back and sharing the additional details!
Please contact us at WooCommerce.com > My Account > Support.
You may need to create an account before you can access that page.
Please include a link to this forum thread, so that we can keep track of what’s already been done.
We will be able to help you further there.
We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem. If you have further questions, please feel free to open a new topic.
- You must be logged in to reply to this topic.