[NSFW] Attribute Archives keep getting reenabled
-
Whenever I upload files through FTP, WooCommerce re-enables all the product attribute archives. Only 3 of them should be enabled. But I’ve had to manually disable the others at least a dozen times. Doesn’t matter if it’s plugin files or my child theme. But whenever I upload files through FTP, those archives get re-enabled.
It’s taken me two years to identify WHEN it happens (up till today, I thought it was random), and I still cannot understand WHY it happens or how to stop it.
I built the child theme and the plugins which I upload through FTP. So I know that none of them make any reference to the product attributes archives.
How do I stop woocommerce from re-enabling all the attribute archives?
The page I need help with: [log in to see the link]
-
Hi @mesmer7,
Whenever I upload files through FTP, WooCommerce re-enables all the product attribute archives.
It sounds like there is something being triggered when you upload files via FTP. Possibly a plugin or a function that is affecting attributes?
Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
You could also try a conflict test following this guide: https://docs.woocommerce.com/document/how-to-test-for-conflicts/
Thanks.
Here it is. Its a long report. And I understand very little of it.
### WordPress Environment ### WordPress address (URL): https://www.hypnoticdreams.com Site address (URL): https://www.hypnoticdreams.com WC Version: 5.5.2 REST API Version: ? 5.5.2 WC Blocks Version: ? 5.3.3 Action Scheduler Version: ? 3.2.1 WC Admin Version: ? 2.4.4 Log Directory Writable: ? WP Version: 5.8 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.12 PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 5000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.5.5-10.2.34-MariaDB-cll-lve Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 5.5.2 WC Database Prefix: wp_ Total Database Size: 17.90MB Database Data Size: 13.46MB Database Index Size: 4.44MB wp_woocommerce_sessions: Data: 0.24MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.09MB + Index: 0.09MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.04MB + Index: 0.03MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 0.32MB + Index: 0.24MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_abj404_logsv2: Data: 0.87MB + Index: 0.76MB + Engine MyISAM wp_abj404_logs_hits: Data: 0.14MB + Index: 0.08MB + Engine InnoDB wp_abj404_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_abj404_permalink_cache: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_abj404_redirects: Data: 0.22MB + Index: 0.47MB + Engine InnoDB wp_abj404_spelling_cache: Data: 0.31MB + Index: 0.08MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.00MB + Index: 0.02MB + Engine MyISAM wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_blc_filters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_blc_instances: Data: 0.06MB + Index: 0.02MB + Engine MyISAM wp_blc_links: Data: 0.51MB + Index: 0.05MB + Engine MyISAM wp_blc_synch: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_cf_forms: Data: 0.06MB + Index: 0.00MB + Engine MyISAM wp_cf_form_entries: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_cf_form_entry_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cf_form_entry_values: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_cf_pro_messages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cf_queue_failures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cf_queue_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_commentmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_comments: Data: 0.27MB + Index: 0.12MB + Engine MyISAM wp_ewwwio_images: Data: 0.10MB + Index: 0.04MB + Engine MyISAM wp_ewwwio_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_litespeed_cssjs: Data: 3.30MB + Index: 0.27MB + Engine MyISAM wp_litespeed_img_optm: Data: 0.06MB + Index: 0.04MB + Engine MyISAM wp_litespeed_img_optming: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mbdb_books: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_mclean_refs: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_mclean_scan: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 1.01MB + Index: 0.13MB + Engine MyISAM wp_postmeta: Data: 1.64MB + Index: 0.85MB + Engine MyISAM wp_posts: Data: 0.66MB + Index: 0.09MB + Engine MyISAM wp_responsive_menu: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_termmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_terms: Data: 0.01MB + Index: 0.03MB + Engine MyISAM wp_term_relationships: Data: 0.02MB + Index: 0.04MB + Engine MyISAM wp_term_taxonomy: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_usermeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_admin_notes: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wp_wc_download_log: Data: 0.06MB + Index: 0.06MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine MyISAM wp_wc_order_stats: Data: 0.03MB + Index: 0.03MB + Engine MyISAM wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfBlockedIPLog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfBlocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfConfig: Data: 0.40MB + Index: 0.01MB + Engine MyISAM wp_wfCrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfFileChanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfFileMods: Data: 1.68MB + Index: 0.36MB + Engine MyISAM wp_wfHits: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_wfHoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfIssues: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wfKnownFileList: Data: 0.86MB + Index: 0.11MB + Engine MyISAM wp_wfLiveTrafficHuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfLocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfLogins: Data: 0.05MB + Index: 0.02MB + Engine MyISAM wp_wfls_2fa_secrets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfls_settings: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wfNotifications: Data: 0.02MB + Index: 0.00MB + Engine MyISAM wp_wfPendingIssues: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wfReverseCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfSNIPCache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfStatus: Data: 0.08MB + Index: 0.04MB + Engine MyISAM wp_wfTrafficRates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woof_query_cache: Data: 0.03MB + Index: 0.03MB + Engine MyISAM ### Post Type Counts ### acf-field: 21 acf-field-group: 2 attachment: 110 carousels: 13 custom_css: 1 elementor_library: 1 faq: 20 mbdb_book: 2 mbdb_book_grid: 1 mc4wp-form: 2 nav_menu_item: 31 oembed_cache: 9 page: 13 post: 122 product: 28 rttpg: 3 shop_coupon: 2 shop_order: 508 shop_order_refund: 3 sidebar: 1 tt_font_control: 2 woocarousel: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (33) ### 404 Solution: by Aaron J – 2.27.3 Advanced Custom Fields: by Delicious Brains – 5.9.9 Advanced Database Cleaner: by Younes JFR. – 3.0.3 Ajax Search Lite: by Ernest Marcinko – 4.9.3 All-in-One WP Migration: by ServMask – 7.45 Antispam Bee: by pluginkollektiv – 2.10.0 Arconix FAQ: by Tyche Softwares – 1.9.2 The SEO Framework: by The SEO Framework Team – 4.1.4 Caldera Forms: by Caldera Forms – 1.9.4 Classic Editor: by WordPress Contributors – 1.6.2 Classic Widgets: by WordPress Contributors – 0.2 Disable WooCommerce Bloat: by ospiotr – 2.5.0 Easy WP SMTP: by wpecommerce alexanderfoxc – 1.4.7 EWWW Image Optimizer: by Exactly WWW – 6.2.1 Grid/List View for WooCommerce: by BeRocket – 1.1.3 Hypnotic Dreams - AutoComplete Orders: by Hypnotic Dreams – 2.0 Hypnotic Dreams - Latest Posts: by Hypnotic Dreams – 1.3 Hypnotic Dreams - Product Callout: by Hypnotic Dreams – 1.1.2 Hypnotic Dreams - Product Marque: by Hypnotic Dreams – 1.1.2 Hypnotic Dreams - Related Posts: by Hypnotic Dreams – 1.2.2 Hypnotic Dreams - Structured Data: by Hypnotic Dreams – 3.2 Lazy Load for Comments: by Joel James – 1.0.10 LiteSpeed Cache: by LiteSpeed Technologies – 3.6.4 MC4WP: Mailchimp for WordPress: by ibericode – 4.8.6 Mooberry Book Manager: by Mooberry Dreams – 4.9.6 Official StatCounter Plugin: by Aodhan Cullen – 2.0.6 Responsive Menu: by ExpressTech – 4.1.3 Widget Options: by Widget Options Team – 3.7.9 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.4.8 WOOF - WooCommerce Products Filter: by realmag777 – 1.2.5.6 WooCommerce: by Automattic – 5.5.2 Wordfence Security: by Wordfence – 7.5.4 Asset CleanUp: Page Speed Booster: by Gabe Livan – 1.3.8.0 ### Inactive Plugins (4) ### Broken Link Checker: by WPMU DEV – 1.11.15 Media Cleaner: by Jordy Meow – 6.1.9 Plugins Garbage Collector (Database Cleanup): by Vladimir Garagulya – 0.12 WooSidebars: by WooCommerce – 1.4.5 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### 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) 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: – ### WC Pages ### Shop base: #24 - /store/ Cart: #25 - /cart/ Checkout: #26 - /checkout/ My account: #27 - /my-account/ Terms and conditions: ? Page not set ### Theme ### Name: Hypnotic Dreams Version: 1.6.3 Author URL: https://www.hypnoticdreams.com Child Theme: ? Parent Theme Name: Storefront Parent Theme Version: 3.7.0 Parent Theme Author URL: https://woocommerce.com/ WooCommerce Support: ? ### Templates ### Overrides: hypnoticdreams2019/woocommerce/emails/customer-completed-order.php hypnoticdreams2019/woocommerce/emails/customer-processing-order.php ### Action Scheduler ### Complete: 4 Oldest: 2021-07-27 01:08:37 -0400 Newest: 2021-08-11 14:08:30 -0400 ### Status report information ### Generated at: 2021-08-15 11:32:45 -04:00
Hi there ??
Thank you for the System Status!
This kind of problem is usually caused by a conflict with your theme or with another plugin.
?
The best way to determine this is to:- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
Before you start
First, please make sure you have a good backup in place of your full site and database. Most hosting companies have this included in the subscription, but you could also consider using a service like?Jetpack. If something goes wrong, it’s nice to know that you can restore your site.
Cheers!
I will try that on my development site this coming weekend.
I’ve seen the problem on both the development site and the live site. But I’ve only seen it triggered on the live site. I’m not sure I’ll be able to trigger it on the development site.
But I wouldn’t dare deactivate my theme on the live site.
Hi @mesmer7
I will try that on my development site this coming weekend.
Ok! Please keep us posted on how it goes.
I was unable to trigger the problem when I deliberately tried to, which was really frustrating.
But I did develop a better understanding of php namespaces this week. And I cleaned up the sloppy namespace declarations that were part of wpbeginner’s custom widget template. I had used that template for 3 widgets, but none of them wrote to the database. So I don’t know how they could have contributed to the problem.
Hi there ??
Just to clarify – In short, did cleaning those widgets templates fixed the issue?
I’m not sure. I only know that I haven’t been able to deliberately trigger the problem in the past week.
I’ll test it again after I upgrade to Woocommerce 5.6 this weekend.
I’ll test it again after I upgrade to Woocommerce 5.6 this weekend.
Okay! Please keep us posted on this.
I have not been able to recreate this issue in the last two weeks. I don’t know if I fixed it by cleaning up those sloppy namespace declarations or if I just don’t know how to trigger it.
Hello,
I have not been able to recreate this issue in the last two weeks.
Thank you for the update. It’s good that the issue hasn’t reappeared – clearing the custom widget template may have fixed it. I’m closing this thread for now. If the same issue occurs again, feel free to open a new topic.
- The topic ‘[NSFW] Attribute Archives keep getting reenabled’ is closed to new replies.