Head Goldfish
Forum Replies Created
-
Hi @doublezed2 and thanks for the reply.
Would you expect that disabling the page cache only for WooCommerce pages would suffice? I’ve excluded the URLs for the cart, checkout, account, and shop in Cloudflare, and I can turn off my server-side cache, but if I can figure out how to exclude those pages from the server-side cache, would it seem that I could keep it enabled for other pages of the site?
I run several sites with WC and have never had this issue, even without whitelisting the URLs in Cloudflare, as I think the cache system normally accounts for WC. But this is the first time I’m trying the block-based checkout. The classic checkout never has trouble with the cache, so even if I turn off the cache I’ll probably leave it on the classic version for now. The block-based one is more attractive so I’d like to turn it back on eventually, but my client is somewhat annoyed at this so I think I’d better do what seems most safe.Sorry I just pasted the content but I’m not sure why it put it on one line.
Hi @beautyofcode – thanks for the quick reply.
I don’t really think this is related as the timing doesn’t match up but the logs do show this critical error:
Uncaught Error: Class "Automattic\WooCommerce\Admin\Notes\WC_Site_Tracking" not found in /var/web/site/public_html/wp-content/plugins/woocommerce/src/Admin/Notes/Notes.php:426
I’ll turn on the Stripe logging but I’m not going to switch the checkout back to blocks and potentially lose more sales, so unless you can give me steps to try on a staging site I don’t think it’ll help.
Here’s the rest, but I’ve redacted some things since this is a public forum. The theme is not likely an issue as it’s blank and uses the Oxygen builder, which just outputs
the_content()
. I have several other sites running WC without this issue, but this is the only one I’ve tried using the blocks-based checkout flow. I can’t run a plugin conflict test without being able to replicate the issue, so I’m not sure what else to try. The only other possibly helpful info is that the site is going through Cloudflare, but I’ve already tried adding the cart, checkout, and my account pages as exclusions from its cache, and we still got new reports, so that does not seem to be an issue.WordPress Environment<br><br>WordPress address (URL): [redacted]<br>Site address (URL): [redacted]<br>WC Version: 9.3.3<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ? 3.8.1<br>Log Directory Writable: ?<br>WP Version: 6.6.2<br>WP Multisite: –<br>WP Memory Limit: 256 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: ? Server Environment<br><br>Server Info: nginx/1.26.1<br>PHP Version: 8.1.30<br>PHP Post Max Size: 128 MB<br>PHP Time Limit: 300<br>PHP Max Input Vars: 3000<br>cURL Version: 7.81.0<br>OpenSSL/3.0.2<br><br>SUHOSIN Installed: –<br>MySQL Version: 10.6.18-MariaDB-0ubuntu0.22.04.1<br>Max Upload Size: 128 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database<br><br>WC Database Version: 9.3.3<br>WC Database Prefix: [redacted]<br>Total Database Size: 49.71MB<br>Database Data Size: 45.46MB<br>Database Index Size: 4.25MB<br>[redacted]woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>[redacted]woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>[redacted]woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]actionscheduler_actions: Data: 0.23MB + Index: 0.19MB + Engine InnoDB<br>[redacted]actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]actionscheduler_logs: Data: 0.13MB + Index: 0.11MB + Engine InnoDB<br>[redacted]blc_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]blc_instances: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>[redacted]blc_links: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>[redacted]blc_synch: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>[redacted]defender_audit_log: Data: 0.09MB + Index: 0.08MB + Engine InnoDB<br>[redacted]defender_email_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]defender_lockout: Data: 0.42MB + Index: 0.28MB + Engine InnoDB<br>[redacted]defender_lockout_log: Data: 0.20MB + Index: 0.17MB + Engine InnoDB<br>[redacted]defender_quarantine: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]defender_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]defender_scan_item: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]defender_unlockout: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>[redacted]frmt_form_entry: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>[redacted]frmt_form_entry_meta: Data: 0.05MB + Index: 0.05MB + Engine InnoDB<br>[redacted]frmt_form_reports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]frmt_form_views: Data: 0.19MB + Index: 0.36MB + Engine InnoDB<br>[redacted]gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]gla_budget_recommendations: Data: 0.19MB + Index: 0.14MB + Engine InnoDB<br>[redacted]gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>[redacted]links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]mail_catcher_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]options: Data: 5.17MB + Index: 0.09MB + Engine InnoDB<br>[redacted]postmeta: Data: 8.08MB + Index: 0.25MB + Engine InnoDB<br>[redacted]posts: Data: 5.11MB + Index: 0.06MB + Engine InnoDB<br>[redacted]smartcrawl_redirects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]smush_dir_images: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>[redacted]termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]usermeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>[redacted]users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>[redacted]uspswebservice_shipments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]uspswebservice_tracking: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>[redacted]wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>[redacted]wc_orders_meta: Data: 0.06MB + Index: 0.09MB + Engine InnoDB<br>[redacted]wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>[redacted]wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>[redacted]wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>[redacted]wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]wc_product_meta_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>[redacted]wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>[redacted]wfconfig: Data: 1.48MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wffilemods: Data: 14.55MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wfhits: Data: 0.05MB + Index: 0.05MB + Engine InnoDB<br>[redacted]wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>[redacted]wfknownfilelist: Data: 7.52MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>[redacted]wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>[redacted]wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY<br>[redacted]wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>[redacted]wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>[redacted]wfstatus: Data: 0.14MB + Index: 0.09MB + Engine InnoDB<br>[redacted]wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>[redacted]wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts<br><br>acf-field: 30<br>acf-field-group: 8<br>admin2020folders: 5<br>attachment: 111<br>ct_template: 11<br>forminator_forms: 6<br>mr_organization: 4<br>mr_performer: 3<br>nav_menu_item: 6<br>oxy_user_library: 1<br>page: 11<br>post: 2<br>product: 2<br>product_variation: 2<br>revision: 6<br>shop_coupon: 2<br>shop_order_placehold: 11<br>sidebar: 1<br>uipress_admin_menu: 1<br>wp_global_styles: 3<br>wp_navigation: 1 Security<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (30)<br><br>Accordion Blocks: by Phil Buchanan – 1.5.0<br>Advanced Custom Fields PRO: by WP Engine – 6.3.6<br>Custom Core: by Greg – 4.8.6<br>Beehive Pro: by WPMU DEV – 3.4.12<br>Broken Link Checker: by WPMU DEV – 2.4.1<br>Custom Post Type UI: by WebDevStudios – 1.17.1<br>Forminator Pro: by WPMU DEV – 1.35.1<br>Google for WooCommerce: by WooCommerce – 2.8.5<br>Klaviyo: by Klaviyo<br>Inc. – 3.4.0<br><br>Mailchimp for WooCommerce: by Mailchimp – 4.4.1<br>Members: by MemberPress – 3.2.10<br>Oxygen Elements for WooCommerce: by Soflyy – 2.0.1<br>Oxygen: by Soflyy – 4.9<br>Pre-Orders for WooCommerce: by Bright Plugins – 2.0.1<br>Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.6<br>Branda Pro: by WPMU DEV – 3.4.20<br>User Switching: by John Blackbourn – 1.8.0<br>Table Rate Shipping for WooCommerce: by JEM Plugins – 2.29<br>WooCommerce Stripe Gateway: by WooCommerce – 8.7.0<br>Google Analytics for WooCommerce: by WooCommerce – 2.1.7<br>WooCommerce Shipping & Tax: by WooCommerce – 2.8.2<br>WooCommerce Shipping: by WooCommerce – 1.1.4<br>WooCommerce US Postal Service Webservice Method: by Jamez Picard – 1.4.18<br>WooCommerce: by Automattic – 9.3.3<br>Wordfence Security: by Wordfence – 7.11.7<br>Defender Pro: by WPMU DEV – 4.10.0<br>Mail logging - WP Mail Catcher: by James Ward – 2.1.10<br>Smush Pro: by WPMU DEV – 3.16.8<br>SmartCrawl Pro: by WPMU DEV – 3.11.0<br>WPMU DEV Dashboard: by WPMU DEV – 4.11.26 Inactive Plugins (3)<br><br>object-cache.php: Hosting Object Cache Must Use Plugins (2)<br><br>Hosting: by – 0.1<br>Primary Domain Redirect: by WPMUDEV – 1.0 Settings<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ?<br>HPOS feature enabled: ?<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: – Logging<br><br>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 72 KB WC Pages<br><br>Shop base: #3110 - /shop/<br>Cart: #3111 - /cart/ - Contains the woocommerce/cart block<br>Checkout: #3112 - /checkout/ - Contains the [woocommerce_checkout] shortcode<br>My account: #3113 - /my-account/<br>Terms and conditions: ? Page not set Theme<br><br>Name: Blank for Oxygen<br>Version: 1.0.0<br>Author URL:<br>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<br>WooCommerce Support: ? Templates<br><br>Overrides: [redacted]/wp-content/plugins/woocommerce/templates/block-notices/error.php<br>[redacted]/wp-content/plugins/woocommerce/templates/block-notices/notice.php<br>[redacted]/wp-content/plugins/woocommerce/templates/block-notices/success.php Admin<br><br>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page<br>launch-your-store<br><br>Disabled Features: experimental-blocks<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>blueprint<br>reactify-classic-payments-settings<br><br>Daily Cron: ? Next scheduled: 2024-10-02 18:14:09 -07:00<br>Options: ?<br>Notes: 58<br>Onboarding: completed Action Scheduler<br><br>Complete: 491<br>Oldest: 2024-09-09 11:15:12 -0700<br>Newest: 2024-10-02 05:41:02 -0700<br><br>Failed: 5<br>Oldest: 2023-10-16 15:44:01 -0700<br>Newest: 2024-09-24 18:27:01 -0700<br><br>Pending: 10<br>Oldest: 2024-10-02 05:42:02 -0700<br>Newest: 2024-10-02 21:25:07 -0700 Status report information<br><br>Generated at: 2024-10-02 05:42:01 -07:00<br>
Yeah the dates of the imported events still randomly change when I bulk edit them. No idea what’s going on.
Actually maybe I created the new events before importing the old ones. I cannot remember but I’ll dry deleting the new ones and recreating them.
Forum: Plugins
In reply to: [Booster for WooCommerce] PHP Fatal Error… yet again.Hello. I’m running into this problem as well. I’m not sure what happens but if we save a product as a draft, it doesn’t save anything in the cost of goods module, and then it causes a PHP fatal error because there’s no value in the $purchase_costs array, which is required for the min() function on line 196.
@loomedisto thanks for the fix, if I change it then it works for me as well. @gravid7 I would contact you from your website but as the OP mentioned, that doesn’t seem to be possible for free users.
If you activate the Cost of Goods module and delete any values from the database, you’ll see the issue. I don’t know why it sometimes doesn’t save any value when creating a product as it usually just says “$0.00” in that column automatically, but it does, and then causes a fatal error.
Forum: Plugins
In reply to: [Accordion Blocks] Has this plugin been abandoned?@philbuchanan Very glad to hear this as this is the best accordion block I’ve found. But, both the repo and my security plugins keep reporting that the plugin “appears to have been abandoned” due to no recent updates. It is working fine for me on many sites as well but a minor version bump would be helpful, as I’m having to manually ignore the issue on 100+ sites to keep my clients from freaking out over the warning icon. ??
For anyone else, you can also use
get_terms()
arguments with this, for example:$terms = EM_Categories::get( array( 'hide_empty' => true ) );
Ah okay thanks, this seems to work. Cheers!
Ended up just having to directly query the database for this but if there’s an official helper function or something please let me know.
$EM_Taxonomy_Terms
is undefined and it doesn’t seem to be a global variable. Do you know how to access it?To be clear I’m not talking about getting the category within a loop. I just want to display a legend in the sidebar so users know which color corresponds to which category.
Forum: Plugins
In reply to: [WooCommerce] Download Permissions not working for custom order statusOkay so it is intended behavior? I’ll report it but I can probably fix it myself, I only wondered if it was a bug because it seems like a strange choice.
In any case thanks for your help and I’ll see what I can figure out. Hopefully future versions of WC will take this into account.
Forum: Plugins
In reply to: [WooCommerce] Download Permissions not working for custom order statusThank you for confirming, @xue28. This would be a bug then, would it not? It seems like the download permissions should still work with custom statuses. Is there an official place to report bugs in WooCommerce?
Forum: Plugins
In reply to: [WooCommerce] Download Permissions not working for custom order statusOkay but I don’t know if it’s a problem with AST or Woocommerce. Is it supposed to work with custom statuses?