• Resolved vavav

    (@vaibhavdugar)


    Hi team,
    need an urgent resolution to the below error. This error has been noticed after the last update of woocommerce.
    You can also refer to the link below for the exact error. I have tried deactivating all plugins and reactivating one by one, yet the error persists.
    Kindly review.

    WordPress environment
    WordPress address (URL):		https://www.kivu.in
    Site address (URL):		https://www.kivu.in
    WooCommerce version:		4.4.1
    WooCommerce REST API package:		 1.0.15 /home/u828724271/domains/kivu.in/public_html/wp-content/plugins/woocommerce/packages/woocommerce-rest-api
    WooCommerce Blocks package:		 2.7.3 /home/u828724271/domains/kivu.in/public_html/wp-content/plugins/woocommerce/packages/woocommerce-blocks/
    Action Scheduler package:		 3.1.6 /home/u828724271/domains/kivu.in/public_html/wp-content/plugins/woocommerce/packages/action-scheduler
    WooCommerce Admin package:		 1.4.0 /home/u828724271/domains/kivu.in/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin
    Log directory writable:		 /home/u828724271/domains/kivu.in/public_html/wp-content/uploads/wc-logs/
    WordPress version:		5.5
    WordPress multisite:		–
    WordPress memory limit:		512 MB
    WordPress debug mode:		–
    WordPress cron:		
    Language:		en_GB
    External object cache:		–
    Server environment
    Server info:		LiteSpeed
    PHP version:		7.3.20
    PHP post max size:		256 MB
    PHP time limit:		240
    PHP max input vars:		5000
    cURL version:		7.62.0, OpenSSL/1.0.2k
    SUHOSIN installed:		–
    MySQL version:		5.5.5-10.4.13-MariaDB
    Max upload size:		256 MB
    Default timezone is UTC:		
    fsockopen/cURL:		
    SoapClient:		
    DOMDocument:		
    GZip:		
    Multibyte string:		
    Remote post:		
    Remote get:		
    Database
    WooCommerce database version:		4.4.1
    Database prefix	 	wpls_
    Total Database Size	 	12.95MB
    Database Data Size	 	10.94MB
    Database Index Size	 	2.01MB
    wpls_woocommerce_sessions	 	Data: 0.22MB + Index: 0.01MB + Engine MyISAM
    wpls_woocommerce_api_keys	 	Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpls_woocommerce_attribute_taxonomies	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_woocommerce_downloadable_product_permissions	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_woocommerce_order_items	 	Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpls_woocommerce_order_itemmeta	 	Data: 0.03MB + Index: 0.02MB + Engine MyISAM
    wpls_woocommerce_tax_rates	 	Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpls_woocommerce_tax_rate_locations	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_woocommerce_shipping_zones	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_woocommerce_shipping_zone_locations	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_woocommerce_shipping_zone_methods	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_woocommerce_payment_tokens	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_woocommerce_payment_tokenmeta	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_woocommerce_log	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_actionscheduler_actions	 	Data: 0.06MB + Index: 0.03MB + Engine MyISAM
    wpls_actionscheduler_claims	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_actionscheduler_groups	 	Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpls_actionscheduler_logs	 	Data: 0.03MB + Index: 0.03MB + Engine MyISAM
    wpls_as3cf_items	 	Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wpls_atum_order_itemmeta	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_atum_order_items	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_atum_product_data	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_commentmeta	 	Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpls_comments	 	Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wpls_db7_forms	 	Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wpls_frmt_form_entry	 	Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wpls_frmt_form_entry_meta	 	Data: 0.09MB + Index: 0.08MB + Engine InnoDB
    wpls_frmt_form_views	 	Data: 0.09MB + Index: 0.16MB + Engine InnoDB
    wpls_links	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_litespeed_avatar	 	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpls_litespeed_cssjs	 	Data: 0.39MB + Index: 0.03MB + Engine InnoDB
    wpls_litespeed_img_optm	 	Data: 0.31MB + Index: 0.15MB + Engine MyISAM
    wpls_litespeed_img_optming	 	Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpls_loginizer_logs	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_options	 	Data: 1.59MB + Index: 0.20MB + Engine MyISAM
    wpls_postmeta	 	Data: 5.89MB + Index: 0.25MB + Engine MyISAM
    wpls_posts	 	Data: 0.69MB + Index: 0.05MB + Engine MyISAM
    wpls_sbi_instagram_feeds_posts	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_sbi_instagram_posts	 	Data: 0.07MB + Index: 0.00MB + Engine MyISAM
    wpls_shipment_batch_process	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_shortpixel_folders	 	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpls_shortpixel_meta	 	Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wpls_short_links	 	Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpls_short_link_clicks	 	Data: 0.40MB + Index: 0.06MB + Engine MyISAM
    wpls_short_link_replacements	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_smush_dir_images	 	Data: 0.33MB + Index: 0.14MB + Engine MyISAM
    wpls_sm_sync	 	Data: 0.30MB + Index: 0.06MB + Engine MyISAM
    wpls_termmeta	 	Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpls_terms	 	Data: 0.02MB + Index: 0.05MB + Engine MyISAM
    wpls_term_relationships	 	Data: 0.02MB + Index: 0.04MB + Engine MyISAM
    wpls_term_taxonomy	 	Data: 0.02MB + Index: 0.03MB + Engine MyISAM
    wpls_usermeta	 	Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wpls_users	 	Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpls_wc_admin_notes	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_wc_admin_note_actions	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_wc_category_lookup	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_wc_customer_lookup	 	Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpls_wc_download_log	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_wc_order_coupon_lookup	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_wc_order_product_lookup	 	Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpls_wc_order_stats	 	Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpls_wc_order_tax_lookup	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_wc_product_meta_lookup	 	Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpls_wc_reserved_stock	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpls_wc_tax_rate_classes	 	Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wpls_wc_webhooks	 	Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wpls_wc_zapier_history	 	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpls_woo_shippment_provider	 	Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wpls_yoast_seo_links	 	Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    wpls_yoast_seo_meta	 	Data: 0.12MB + Index: 0.15MB + Engine MyISAM
    Post Type Counts
    aiosrs-schema	 	3
    attachment	 	231
    forminator_forms	 	4
    home_slider	 	1
    jetpack_migration	 	2
    jp_img_sitemap	 	1
    jp_sitemap	 	1
    jp_sitemap_master	 	1
    nav_menu_item	 	57
    nectar_slider	 	6
    page	 	21
    popup_theme	 	6
    post	 	16
    postman_sent_mail	 	28
    product	 	17
    revision	 	14
    shop_order	 	11
    wdi_instagram	 	1
    Security
    Secure connection (HTTPS):		
    Hide errors from visitors		
    Active plugins (28)
    Advanced noCaptcha & invisible Captcha	 	by Shamim Hasan – 5.7.1 – Installed version not tested with active version of WooCommerce 4.4.1
    WooCommerce Zapier	 	by OM4 – 2.0.4 – Installed version not tested with active version of WooCommerce 4.4.1
    Ajax Cart AutoUpdate for WooCommerce	 	by taisho – 1.5.4 – Installed version not tested with active version of WooCommerce 4.4.1
    Akismet Anti-Spam	 	by Automattic – 4.1.6
    Yoast Duplicate Post	 	by Enrico Battocchi and Team Yoast – 3.2.5
    Forminator	 	by WPMU DEV – 1.13.4
    Instagram Feed Pro Developer	 	by Smash Balloon – 5.1.2
    Salient WPBakery Page Builder	 	by Michael M - WPBakery.com | Modified by ThemeNectar – 6.2.0
    LiteSpeed Cache	 	by LiteSpeed Technologies – 3.3.1
    Loginizer	 	by Softaculous – 1.5.5
    URL Shortener by MyThemeShop	 	by MyThemeShop – 1.0.16
    Really Simple SSL	 	by Really Simple Plugins – 3.3.5
    Salient Core	 	by ThemeNectar – 1.6
    Salient Demo Importer	 	by ThemeNectar – 1.2
    Salient Home Slider	 	by ThemeNectar – 1.3
    Salient Nectar Slider	 	by ThemeNectar – 1.6
    Salient Portfolio	 	by ThemeNectar – 1.6
    Salient Shortcodes	 	by ThemeNectar – 1.3
    Salient Social	 	by ThemeNectar – 1.1
    Salient Widgets	 	by ThemeNectar – 1.1
    ShortPixel Image Optimizer	 	by ShortPixel – 4.20.1
    Advanced Shipment Tracking for WooCommerce	 	by zorem – 3.0.9 – Installed version not tested with active version of WooCommerce 4.4.1
    Razorpay for WooCommerce	 	by Team Razorpay – 2.5.0 – Installed version not tested with active version of WooCommerce 4.4.1
    WC Catalog Enquiry	 	by WC Marketplace, The Grey Parrots – 3.2.2 – Installed version not tested with active version of WooCommerce 4.4.1
    WooCommerce	 	by Automattic – 4.4.1
    Yoast SEO Premium	 	by Team Yoast – 13.4.1
    Schema Pro	 	by Brainstorm Force – 1.6.1
    Yoast SEO: WooCommerce	 	by Team Yoast – 12.7 – Installed version not tested with active version of WooCommerce 4.4.1
    Inactive plugins (1)
    WP-Stateless	 	by Usability Dynamics, Inc. – 2.3.3
    Dropin Plugins (1)
    advanced-cache.php	 	advanced-cache.php
    Must Use Plugins (1)
    rms_unique_wp_mu_pl_fl_nm.php	 	by –
    Settings
    API enabled:		
    Force SSL:		–
    Currency		INR (?)
    Currency position		left
    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:		–
    WooCommerce pages
    Shop base:		#43 - /our-offerings/
    Basket:		#44 - /cart/
    Checkout:		#45 - /checkout/
    My account:		#46 - /my-account/
    Terms and conditions:		#7950 - /terms-conditions/
    Theme
    Name:		Salient
    Version:		12.1.0
    Author URL:		https://themeforest.net/user/themenectar
    Child theme:		 – If you are modifying WooCommerce on a parent theme that you did not build, personally we recommend using a child theme. See: How to create a child theme
    WooCommerce support:		
    Templates
    Overrides	 	salient/woocommerce/checkout/form-checkout.php,
    salient/woocommerce/checkout/review-order.php,
    salient/woocommerce/checkout/terms.php,
    salient/woocommerce/content-product.php,
    salient/woocommerce/content-single-product.php,
    salient/woocommerce/emails/customer-processing-order.php,
    salient/woocommerce/loop/add-to-cart.php,
    salient/woocommerce/loop/loop-start.php,
    salient/woocommerce/myaccount/form-login.php,
    salient/woocommerce/single-product/product-image.php,
    salient/woocommerce/single-product/tabs/description.php,
    salient/woocommerce/single-product/tabs/tabs.php
    Action Scheduler
    Version:	3.1.6
    Action Status	 	Count	Oldest Scheduled Date	Newest Scheduled Date
    Complete	 	161	2020-07-24 14:23:03 +0000	2020-08-24 11:34:28 +0000
    Pending	 	4	2020-08-24 14:05:51 +0000	2020-09-07 12:35:25 +0000
    WooCommerce Zapier
    Database Version:		 12
    Detailed Logging Enabled:		No
    Legacy Mode Disabled:		 Yes
    SSL:		 Yes
    REST API Authentication Key(s):		 0
    Task History Record Count:		 8
    Webhook #2:		Zapier #94346642
    - Status: active
    - Trigger: order.status_changed
    - Delivery Count (Last 30 Days): 4
    Webhook #1:		Zapier #94346642
    - Status: active
    - Trigger: order.status_changed
    - Delivery Count (Last 30 Days): 4

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Senff

    (@senff)

    Hi @vaibhavdugar

    What’s the exact error message, and when/where do you see it?

    Also, just to confirm — do you still see the error with all plugins (deactivated except WooCommerce) AND switching to a default theme (such as Storefront or TwentyTwenty)?

    Thread Starter vavav

    (@vaibhavdugar)

    Hi,
    i see the same error after deactivating all plugins excluding WooCommerce. I haven’t switched to the default theme, do i need to do that, that can break my website! Wont it?

    pls do check: https://www.kivu.in/product-category/cookies/

    this is how the error looks like:
    Fatal error: Uncaught Error: Call to undefined function wc_set_loop_product_visibility() in /home/u828724271/domains/kivu.in/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php:434 Stack trace: #0 /home/u828724271/domains/kivu.in/public_html/wp-includes/class-wp-hook.php(287): WC_Query->adjust_posts_count(7, Object(WP_Query)) #1 /home/u828724271/domains/kivu.in/public_html/wp-includes/plugin.php(249): WP_Hook->apply_filters(7, Array) #2 /home/u828724271/domains/kivu.in/public_html/wp-includes/class-wp-query.php(3266): apply_filters_ref_array('found_posts', Array) #3 /home/u828724271/domains/kivu.in/public_html/wp-includes/class-wp-query.php(3020): WP_Query->set_found_posts(Array, 'LIMIT 0, 12') #4 /home/u828724271/domains/kivu.in/public_html/wp-includes/class-wp-query.php(3448): WP_Query->get_posts() #5 /home/u828724271/domains/kivu.in/public_html/wp-includes/class-wp.php(624): WP_Query->query(Array) #6 /home/u828724271/domains/kivu.in/public_html/wp-includes/class-wp.php(747): WP->query_posts() #7 /hom in /home/u828724271/domains/kivu.in/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php on line 434

    Thread Starter vavav

    (@vaibhavdugar)

    Hello team,
    request for a reply as a few pages on my website is broken!
    Eg:
    https://www.kivu.in/product-category/cookies/

    regards
    Vaibhav

    Thread Starter vavav

    (@vaibhavdugar)

    hi
    i have deactivated all plugins except woocommerce and activate the default theme, yet it didnt work. i am still facing the same issue!

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @vaibhavdugar. At what point does this error occur:

    Fatal error: Uncaught Error: Call to undefined function wc_set_loop_product_visibility() in /home/u828724271/domains/kivu.in/public_html/wp-content/plugins/woocommerce/includes/class-wc-query.php:434

    If you go to WooCommerce > Status > Logs and click on the dropdown, when was the last date for the fatal error? How does it affect the way your site works?

    Thread Starter vavav

    (@vaibhavdugar)

    Hi there,
    I reverted the woocommerce version to the more stable version of 4.3.3 and havent had the heart and courage to upgrade it since then!

    I’ll upgrade and then check if the same problem persists, else we can ignore this for now.

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @vaibhavdugar. You may want to set up a staging site to test any updates before applying them to your production site.

    I’m going to go ahead and resolve this post, but it you have any issues that come up later, please start a new post.

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