All Products disappear from Shop Page
-
Hello- all the products in our Shop Page keep disappearing, but reappear once I go into the backend and manually update the page (by literally clicking update). It seems to be on a schedule. At first it was hourly, so I deactivated the Facebook Woocommerce plugin because I noticed it coincided with the Facebook “heartbeat”. That seemed to help, as it wasn’t disappearing hourly anymore, however, all the products are still disappearing randomly- I’m still trying to figure out the timing pattern for when the products disappear. I understand that I will need to deactivate and test all the plugins, but being that we are not on an hourly schedule of disappearing and have 30 plugins installed, I’m afraid this will literally take me months to figure out- while losing valuable customers in the process. Do you have any suggestions or has anyone else reported the same issue?
The page I need help with: [log in to see the link]
-
Hi @pvm973 ,
Thanks for reaching out!
I understand that you are experiencing issues with products disappearing from the shop page.
Just for clarity, is it the entire product disappearing, or only the product images?
As a first step, please could you share a copy of your sites System Status report in order to have a better understanding of your site setup. This can be found by navigating to WooCommerce > Status, select ‘Get system report’ and then ‘Copy for support’.
Additionally, please could you go to WooCoomerce > Status > Logs and share a copy of any fatal error logs that appear there (if any).
Once you have these, you may paste your response here.
Thanks!
Hi Roxanne- Here is the System Status Report: `
### WordPress Environment ###WordPress address (URL): https://understandingb6toxicity.com
Site address (URL): https://understandingb6toxicity.com
WC Version: 6.6.0
REST API Version: ? 6.6.0
WC Blocks Version: ? 7.6.0
Action Scheduler Version: ? 3.4.0
Log Directory Writable: ?
WP Version: 6.0
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: –
WP Cron: ?
Language: en_US
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 7.4.28
PHP Post Max Size: 516 MB
PHP Time Limit: 60
PHP Max Input Vars: 1000
cURL Version: 7.81.0
OpenSSL/1.1.1nSUHOSIN Installed: –
MySQL Version: 5.6.41-84.1
Max Upload Size: 512 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 6.6.0
WC Database Prefix: _DND_
Total Database Size: 40.01MB
Database Data Size: 36.25MB
Database Index Size: 3.76MB
_DND_woocommerce_sessions: Data: 0.13MB + Index: 0.01MB + Engine MyISAM
_DND_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
_DND_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
_DND_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
_DND_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
_DND_woocommerce_order_itemmeta: Data: 0.14MB + Index: 0.10MB + Engine MyISAM
_DND_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
_DND_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
_DND_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
_DND_woocommerce_shipping_zone_locations: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
_DND_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
_DND_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
_DND_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
_DND_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
_DND_actionscheduler_actions: Data: 0.48MB + Index: 0.25MB + Engine MyISAM
_DND_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
_DND_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
_DND_actionscheduler_logs: Data: 0.36MB + Index: 0.26MB + Engine MyISAM
_DND_ays_sccp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_ays_sccp_block_content: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_ays_sccp_block_subscribe: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_ays_sccp_reports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_ays_sccp_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
_DND_cli_cookie_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_cli_cookie_scan_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
_DND_cli_cookie_scan_cookies: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
_DND_cli_cookie_scan_url: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_cli_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
_DND_comments: Data: 0.16MB + Index: 0.06MB + Engine MyISAM
_DND_cpappbk_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_cpappbk_icalexport: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_cpappbk_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_frm_fields: Data: 0.11MB + Index: 0.03MB + Engine InnoDB
_DND_frm_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
_DND_frm_items: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
_DND_frm_item_metas: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
_DND_frm_view_layouts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
_DND_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
_DND_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
_DND_nextend2_section_storage: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
_DND_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_nextend2_smartslider3_sliders: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
_DND_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
_DND_nextend2_smartslider3_slides: Data: 0.09MB + Index: 0.11MB + Engine InnoDB
_DND_options: Data: 9.24MB + Index: 0.69MB + Engine MyISAM
_DND_postmeta: Data: 2.22MB + Index: 0.63MB + Engine MyISAM
_DND_posts: Data: 21.52MB + Index: 0.32MB + Engine MyISAM
_DND_termmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
_DND_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
_DND_term_relationships: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
_DND_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
_DND_usermeta: Data: 0.26MB + Index: 0.13MB + Engine MyISAM
_DND_users: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
_DND_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
_DND_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
_DND_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
_DND_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
_DND_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
_DND_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
_DND_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
_DND_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
_DND_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
_DND_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
_DND_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
_DND_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
_DND_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
_DND_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
_DND_wpdatacharts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_wpdatatables: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_wpdatatables_columns: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_wpdatatables_rows: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
_DND_wpforms_tasks_meta: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
_DND_yoast_indexable: Data: 0.27MB + Index: 0.20MB + Engine InnoDB
_DND_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
_DND_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
_DND_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
_DND_yoast_seo_links: Data: 0.09MB + Index: 0.03MB + Engine InnoDB### Post Type Counts ###
attachment: 67
condition_group: 1
cookielawinfo: 6
custom_css: 1
customize_changeset: 1
feedback: 42
frm_display: 1
frm_form_actions: 2
frm_styles: 1
jetpack_migration: 2
jp_img_sitemap: 1
jp_sitemap: 1
jp_sitemap_master: 1
nav_menu_item: 133
oembed_cache: 12
page: 134
post: 5
product: 12
product_variation: 8
revision: 1946
shop_coupon: 3
shop_order: 139
shop_order_refund: 5
shop_subscription: 5
wp_global_styles: 1
wpforms: 1### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?### Active Plugins (21) ###
GDPR Cookie Consent: by WebToffee – 2.1.2
GTM4WP: by Thomas Geiger – 1.15.2
Formidable Forms Pro: by Strategy11 – 5.3.2
Formidable Visual Views: by Strategy11 – 5.2.1
Formidable Forms: by Strategy11 – 5.3.2
GTranslate: by Translate AI Multilingual Solutions – 2.9.12
Insert Headers and Footers: by WPBeginner – 1.6.2
Jetpack: by Automattic – 11.0
Google Ads & Marketing by Kliken: by Kliken – 1.0.8
Mailchimp for WooCommerce: by Mailchimp – 2.6.2
MailChimp Forms by MailMunch: by MailMunch – 3.1.4
MailChimp: by MailChimp – 1.5.7
Passport-Shipping: by Passport Global
Inc. – 1.3.3Smart Slider 3: by Nextend – 3.5.1.7
UpdraftPlus – Backup/Restore: by UpdraftPlus.Com
DavidAnderson – 1.22.12WooCommerce Payments: by Automattic – 4.2.1
WooCommerce PayPal Payments: by WooCommerce – 1.8.1
WooCommerce Shipping & Tax: by WooCommerce – 1.26.0
WooCommerce – ShipStation Integration: by WooCommerce – 4.1.48
WooCommerce: by Automattic – 6.6.0
Yoast SEO: by Team Yoast – 19.1### Inactive Plugins (9) ###
Anti-Spam by CleanTalk: by СleanTalk <[email protected]> – 5.178
Appointment Hour Booking: by CodePeople – 1.3.60
Bluehost: by Bluehost – 2.10.1
Facebook for WooCommerce: by Facebook – 2.6.16
OptinMonster: by OptinMonster Popup Builder Team – 2.7.0
PHP Compatibility Checker: by WP Engine – 1.5.2
Secure Copy Content Protection: by Copy Content Protection Team – 3.1.8
WooCommerce Google Analytics Integration: by WooCommerce – 1.5.10
wpDataTables – Tables & Table Charts: by TMS-Plugins – 2.1.33### Must Use Plugins (3) ###
Endurance Page Cache: by Mike Hansen – 2.2
Endurance PHP Edge: by Mike Hansen – 0.1
SSO: by Garth Mortensen
Mike Hansen – 0.4### Settings ###
API Enabled: –
Force SSL: ?
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
subscription (subscription)
variable (variable)
variable subscription (variable-subscription)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: ?
Enforce Approved Product Download Directories: –### WC Pages ###
Shop base: #26 – /shop/
Cart: #10905 – /cart/
Checkout: #10648 – /checkout/
My account: #10649 – /my-account/
Terms and conditions: #12966 – /terms-conditions/### Theme ###
Name: Overlay
Version: 1.1.44
Author URL: https://kairaweb.com/
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: –
### Subscriptions ###
WCS_DEBUG: ? No
Subscriptions Mode: ? Live
Subscriptions Live URL: https://understandingb6toxicity.com
Subscription Statuses: wc-cancelled: 2
wc-active: 3WooCommerce Account Connected: ? Yes
Active Product Key: ? No### Store Setup ###
Country / State: United States (US) — Texas
### Subscriptions by Payment Gateway ###
WooCommerce Payments: wc-active: 3
wc-cancelled: 2### Payment Gateway Support ###
WooCommerce Payments: products
refunds
multiple_subscriptions
subscription_cancellation
subscription_payment_method_change_admin
subscription_payment_method_change_customer
subscription_payment_method_change
subscription_reactivation
subscription_suspension
subscriptions
gateway_scheduled_payments
tokenization
add_payment_methodPayPal: refunds
### WooCommerce PayPal Payments ###
Onboarded: ?
Shop country code: US
WooCommerce currency supported: ?
PayPal card processing available in country: ?
Pay Later messaging available in country: ?
Webhook status: ?
Vault enabled: ?
Logging enabled: –
Reference Transactions: –
Used PayPal Checkout plugin: –### Admin ###
Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
experimental-products-task
experimental-import-products-task
experimental-fashion-sample-products
homescreen
marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
wc-pay-promotion
wc-pay-welcome-page
wc-pay-subscriptions-pageDisabled Features: minified-js
settingsDaily Cron: ? Next scheduled: 2022-06-16 14:43:03 +00:00
Options: ?
Notes: 85
Onboarding: completed### WooCommerce Payments ###
Version: 4.2.1
Connected to WPCOM: Yes
Blog ID: 151791678
Account ID: acct_1Jty552Egxa90Sd7### Action Scheduler ###
Canceled: 1
Oldest: 2022-06-03 05:04:54 +0000
Newest: 2022-06-03 05:04:54 +0000Complete: 1,166
Oldest: 2022-05-15 18:18:08 +0000
Newest: 2022-06-15 17:33:51 +0000Pending: 6
Oldest: 2022-06-15 18:42:31 +0000
Newest: 2022-08-14 16:25:01 +0000### Status report information ###
Generated at: 2022-06-15 18:07:37 +00:00
`There do appear to be fatal errors in our logs, some dating back to May that have since stopped. Am I correct in assuming that you only need the ones that say Fatal Errors in the beginning? There are others in there, but below is the most recent “fatal error” from June 14th:
2022-06-14T03:20:42+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php:277 Stack trace: #0 /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php(301): overlay_woocommerce_cart_link() #1 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/topbar/topbar-default.php(27): overlay_woocommerce_header_cart() #2 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #3 /home2/healips1/public_html/wp-includes/template.php(716): load_template('/home2/healips1...', false, Array) #4 /home2/healips1/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #5 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/header.php(8): get_template_part('/templates/head...') #6 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #7 /home2/healips1/public_html/wp-includes/template.php(716): in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php on line 277 2022-06-14T03:22:57+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php:277 Stack trace: #0 /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php(301): overlay_woocommerce_cart_link() #1 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/topbar/topbar-default.php(27): overlay_woocommerce_header_cart() #2 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #3 /home2/healips1/public_html/wp-includes/template.php(716): load_template('/home2/healips1...', false, Array) #4 /home2/healips1/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #5 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/header.php(8): get_template_part('/templates/head...') #6 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #7 /home2/healips1/public_html/wp-includes/template.php(716): in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php on line 277 2022-06-14T03:25:36+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php:277 Stack trace: #0 /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php(301): overlay_woocommerce_cart_link() #1 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/topbar/topbar-default.php(27): overlay_woocommerce_header_cart() #2 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #3 /home2/healips1/public_html/wp-includes/template.php(716): load_template('/home2/healips1...', false, Array) #4 /home2/healips1/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #5 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/header.php(8): get_template_part('/templates/head...') #6 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #7 /home2/healips1/public_html/wp-includes/template.php(716): in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php on line 277 2022-06-14T03:27:31+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php:277 Stack trace: #0 /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php(301): overlay_woocommerce_cart_link() #1 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/topbar/topbar-default.php(27): overlay_woocommerce_header_cart() #2 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #3 /home2/healips1/public_html/wp-includes/template.php(716): load_template('/home2/healips1...', false, Array) #4 /home2/healips1/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #5 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/header.php(8): get_template_part('/templates/head...') #6 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #7 /home2/healips1/public_html/wp-includes/template.php(716): in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php on line 277 2022-06-14T03:30:19+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php:277 Stack trace: #0 /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php(301): overlay_woocommerce_cart_link() #1 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/topbar/topbar-default.php(27): overlay_woocommerce_header_cart() #2 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #3 /home2/healips1/public_html/wp-includes/template.php(716): load_template('/home2/healips1...', false, Array) #4 /home2/healips1/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #5 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/header.php(8): get_template_part('/templates/head...') #6 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #7 /home2/healips1/public_html/wp-includes/template.php(716): in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php on line 277 2022-06-14T03:31:37+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php:277 Stack trace: #0 /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php(301): overlay_woocommerce_cart_link() #1 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/topbar/topbar-default.php(27): overlay_woocommerce_header_cart() #2 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #3 /home2/healips1/public_html/wp-includes/template.php(716): load_template('/home2/healips1...', false, Array) #4 /home2/healips1/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #5 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/header.php(8): get_template_part('/templates/head...') #6 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #7 /home2/healips1/public_html/wp-includes/template.php(716): in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php on line 277 2022-06-14T03:34:55+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php:277 Stack trace: #0 /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php(301): overlay_woocommerce_cart_link() #1 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/topbar/topbar-default.php(27): overlay_woocommerce_header_cart() #2 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #3 /home2/healips1/public_html/wp-includes/template.php(716): load_template('/home2/healips1...', false, Array) #4 /home2/healips1/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #5 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/header.php(8): get_template_part('/templates/head...') #6 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #7 /home2/healips1/public_html/wp-includes/template.php(716): in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php on line 277 2022-06-14T03:38:52+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php:277 Stack trace: #0 /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php(301): overlay_woocommerce_cart_link() #1 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/topbar/topbar-default.php(27): overlay_woocommerce_header_cart() #2 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #3 /home2/healips1/public_html/wp-includes/template.php(716): load_template('/home2/healips1...', false, Array) #4 /home2/healips1/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #5 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/header.php(8): get_template_part('/templates/head...') #6 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #7 /home2/healips1/public_html/wp-includes/template.php(716): in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php on line 277 2022-06-14T03:40:40+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_contents_count() on null in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php:277 Stack trace: #0 /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php(301): overlay_woocommerce_cart_link() #1 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/topbar/topbar-default.php(27): overlay_woocommerce_header_cart() #2 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #3 /home2/healips1/public_html/wp-includes/template.php(716): load_template('/home2/healips1...', false, Array) #4 /home2/healips1/public_html/wp-includes/general-template.php(204): locate_template(Array, true, false, Array) #5 /home2/healips1/public_html/wp-content/themes/overlay/templates/header/header.php(8): get_template_part('/templates/head...') #6 /home2/healips1/public_html/wp-includes/template.php(772): require('/home2/healips1...') #7 /home2/healips1/public_html/wp-includes/template.php(716): in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php on line 277
Hi @pvm973 ,
Thanks for providing the System status report, and error logs.
Am I correct in assuming that you only need the ones that say Fatal Errors in the beginning?
Yes, that is correct ??
Uncaught Error: Call to a member function get_cart_contents_count() on null in /home2/healips1/public_html/wp-content/themes/overlay/inc/woocommerce.php:277
There are a number of errors that are coming from the Overlay theme. Please could you temporarily change your theme to the default WooCommerce Storefront theme and see if this makes any difference?
all the products are still disappearing randomly
I understand that there is no exact noticeable timely pattern however, changing the theme to see if the issue persists would help determine if the issue is being caused by a conflict with your current theme.
Next, please temporarily disable any caching plugins and then clear your site and browser cache:
https://www.wpbeginner.com/beginners-guide/how-to-clear-your-cache-in-wordpress
Additionally, you can navigate to WooCommerce > Status > Tools and do the following to see if it makes any difference:
– Clear WooCommerce transients
– Clear expired transients
– Recount terms
– Regenerate Product lookup tables
– Regenerate shop thumbnailsPlease let me know how this goes!
Hi @pvm973!
In addition to what has been already recommended by Roxanne, I’d also suggest enabling Debug Mode in WordPress. This will log any errors to the debug.log file in the wp-content folder and can give you additional hints on what’s causing trouble on your site.
Follow the steps here for debugging in WordPress:
https://github.com/woocommerce/woocommerce/wiki/Using-WP_DEBUG_LOG-to-log-errors
If you don’t want to test this on your live site, you can create a staging site which is an exact copy of the live site using a plugin called WP Staging.
Cheers.
Hi Roxanne S.,
Thank you so much for your help. I changed my theme to the default WooCommerce Storefront theme and could not wait and see if it made a difference because it hid my Menu bar with all our pages. This website is very information dense with a lot of text and our visitors need to see all of the research/information so I was unable to leave the storefront theme on for long.I cleared our site and browser cache.
I also:
– Cleared WooCommerce transients
– Cleared expired transients
– Recounted terms
– Regenerated Product lookup tables
– There was not an option to Regenerate shop thumbnails.I also installed the WP Staging plugin. I guess I should test removing plugins there? I’m just concerned that it will take a lot of time to perform this testing. Meanwhile, I have to manually update the shop page hourly or so (it’s a surprise! lol) to keep the page up for customers.
I really appreciate all of your time and help with this.Hi Mirko,
Thank you so much for your help. I went into WooCommerce>Settings>Payments>Advanced Settings and clicked “Debug Mode” to log error messages. Will this suffice? I also installed the Wp Staging plugin and will work on deactivating and testing all the plugins over the next few days. I also reached out to the Overlay Theme support. Is there anything else you would recommend? LOL I’m just trying to get this sorted out as quickly as possible. We definitely do not want the Shop Page down. Thank you for your help.Hello @pvm973,
Creating a staging site for troubleshooting is your best option at this moment. You’ll then be able to safely find out (without affecting your visitors) if another plugin or your theme is causing this issue.
Set your staging site’s theme to Storefront, disable all plugins except for WooCommerce, and check if the issue persists.
Let us know how it goes.
We haven’t heard back from you in a while, (I think that at this point you have been able to find a solution) so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.
Thanks.
Hi Igor,
I’ve created the Staging Site for testing and what I noticed was that the staging site shop products did not disappear (without me having to do anything). I also noticed that in the Staging site, Woo Commerce is in “Safe Mode” so I’m now thinking it has something to do with Woocommerce. I’ve reached out to them, and they’ve instructed to me to do the same as you mentioned above- putting it in Storefront or Twenty Twenty Two theme and disable all plugins except WooCommerce. I’ve done that now, but because the products disappear at random times, it will take me a while to figure it out.Hello @pvm973!
putting it in Storefront or Twenty Twenty Two theme and disable all plugins except WooCommerce. I’ve done that now, but because the products disappear at random times, it will take me a while to figure it out
Please let us know the results you get.
We would love to help you further on this if our previous suggestions didn’t work.Ok, so I activated the Twenty Twenty theme, deactivated all plugins with the exception of WooCommerce and I still have the same problem- disappearing products in the shop. This has to be a WooCommerce issue. What else can I do? I have since deleted the Shop Page, recreated it, etc… also, same issue. Please, please, please help. We are going on a month of these issues. I have to constantly update my Shop Page to keep the products on it.
Hi @pvm973
This topic is marked as resolved, so I’d recommend creating a new one if you’re still experiencing any issues. You can add a link to this one as a reference.
Since you mentioned that it’s working as expected in a staging environment, when creating a new ticket, paste your most recent system report and error log, for a double-check.
If you’re still seeing some scheduled actions with the pending status, you can run them again manually. I recommend using the WP-Crontrol plugin to check them and manually run the most recent ones.
I hope to hear from you soon!
All the best,
- The topic ‘All Products disappear from Shop Page’ is closed to new replies.