Issue with attachments expiring
-
Updated attachments on our products to this years version and have made sure they are set to not expire but i am still getting an error saying that the attachment has expired.
The only thing that has changed from before is the attachment but both are PDFs
-
Hello Creodesign2,
Thanks for reaching out to us.
Okay, it might be possible that newly updated attachments are not accessible or may have a permission issue.
Can you please compare file permission to get a more idea about that?
If there is any error log then please share it with us.
You can also try another attachment if that PDF-specific issue or product-specific issue is found.
If this issue is coming suddenly then it might conflict issue with other plugins and you can check by deactivating all plugins except woocommerce and product attachment to verify it.
Hope this helps. Let us know if found anything.
Best Regards,
Hitendra & Dotstore TeamI added the old document back in and this also came up with the same error. I also tried to deactivate all the plugins to see if this helps but still getting the same issue
Okay Creodesign,
It might be an issue related to the data migration as we have tested on our sandbox demo and local server but it’s working fine.
We need to check your current theme settings and product settings so please share the product link and also share the system report.
For System Report go to Woocommerce > Status > Logs > copy and paste it here.
Best Regards,
Hitendra & Dotstore Team### WordPress Environment ### WordPress address (URL): https://ftscotland.org Site address (URL): https://ftscotland.org WC Version: 6.4.1 REST API Version: ✔ 6.4.1 WC Blocks Version: ✔ 7.2.2 Action Scheduler Version: ✔ 3.4.0 WC Admin Version: ✔ 3.3.2 Log Directory Writable: ✔ WP Version: 5.9.3 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: ✔ Language: en_GB External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.28 PHP Post Max Size: 1 GB PHP Time Limit: 6000 PHP Max Input Vars: 5000 cURL Version: 7.81.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.7.37 Max Upload Size: 200 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 6.3.1 WC Database Prefix: wp_ Total Database Size: 114.08MB Database Data Size: 65.91MB Database Index Size: 48.17MB wp_woocommerce_sessions: Data: 0.66MB + Index: 0.02MB + 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.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.14MB + Index: 0.05MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 3.42MB + Index: 0.55MB + 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.01MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 0.25MB + Index: 0.30MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.33MB + Index: 0.22MB + Engine InnoDB wp_affiliate_wp_affiliatemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_affiliate_wp_affiliates: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_campaigns: Data: 0.00MB + Index: 0.00MB + Engine wp_affiliate_wp_creatives: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_payouts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_referrals: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_rest_consumers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_affiliate_wp_visits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_afwc_hits: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_afwc_payouts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_afwc_payout_orders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_afwc_referrals: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 1.52MB + Index: 0.64MB + Engine InnoDB wp_db7_forms: Data: 0.12MB + Index: 0.01MB + Engine MyISAM wp_failed_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_frm_fields: Data: 0.48MB + Index: 0.02MB + Engine MyISAM wp_frm_forms: Data: 0.04MB + Index: 0.00MB + Engine MyISAM wp_frm_items: Data: 0.23MB + Index: 0.11MB + Engine MyISAM wp_frm_item_metas: Data: 0.33MB + Index: 0.22MB + Engine MyISAM wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_litespeed_img_optm: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailchimp_carts: Data: 0.04MB + Index: 0.00MB + Engine MyISAM wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 5.23MB + Index: 0.16MB + Engine InnoDB wp_postmeta: Data: 9.52MB + Index: 11.03MB + Engine InnoDB wp_posts: Data: 17.52MB + Index: 0.66MB + Engine InnoDB wp_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_smush_dir_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_statistics_exclusions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_statistics_historical: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_statistics_pages: Data: 2.52MB + Index: 12.47MB + Engine InnoDB wp_statistics_search: Data: 1.52MB + Index: 0.95MB + Engine InnoDB wp_statistics_useronline: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_statistics_visit: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_statistics_visitor: Data: 8.52MB + Index: 17.63MB + Engine InnoDB wp_statistics_visitor_relationships: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_stock_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 1.52MB + Index: 0.84MB + Engine InnoDB wp_users: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_wcs_payment_retries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_bundle_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.09MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.09MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.01MB + Index: 0.03MB + Engine MyISAM wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB 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.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wffilemods: Data: 4.52MB + Index: 0.00MB + Engine InnoDB wp_wfhits: Data: 2.02MB + Index: 0.16MB + Engine InnoDB wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfknownfilelist: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wflogins: Data: 0.41MB + Index: 0.16MB + Engine InnoDB wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_bundled_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_indexable: Data: 0.20MB + Index: 0.13MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_yoast_seo_links: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_yoast_seo_meta: Data: 0.04MB + Index: 0.05MB + Engine MyISAM ### Post Type Counts ### acf-field: 4 acf-field-group: 3 attachment: 237 custom_css: 1 customize_changeset: 3 frm_display: 3 frm_form_actions: 14 frm_styles: 1 o-discount: 3 o-list: 3 page: 74 post: 2 product: 88 product_variation: 156 revision: 1793 seedprod: 1 shop_coupon: 27 shop_order: 973 shop_order_refund: 2 shop_subscription: 142 trainer: 1 tribe_events: 11 tribe_organizer: 1 tribe_venue: 7 vc_grid_item: 3 wcdp_payment: 76 woo_discount: 1 wp_global_styles: 1 wpcf7_contact_form: 7 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (30) ### Advanced Custom Fields: by Delicious Brains – 5.12.2 AffiliateWP: by AffiliateWP LLC – 2.1.5 Contact Form 7: by Takayuki Miyoshi – 5.5.6 Custom Order Numbers for WooCommerce: by Tyche Softwares – 1.3.4 Easy WP SMTP: by wpecommerce alexanderfoxc – 1.4.7 Formidable MailChimp: by Strategy11 – 2.06 Formidable Forms Pro: by Strategy11 – 5.2.05 Formidable Registration: by Strategy11 – 2.04 Formidable Digital Signatures: by Strategy11 – 2.05 Formidable Forms: by Strategy11 – 5.2.05 WPBakery Page Builder: by Michael M - WPBakery.com – 6.0.5 LiteSpeed Cache: by LiteSpeed Technologies – 4.4.5 Mailchimp for WooCommerce: by Mailchimp – 2.6.2 Really Simple SSL: by Really Simple Plugins – 5.3.1 Tawk.to Live Chat: by Tawkto – 0.7.1 Woocommerce Deposits Customization - 2201392: by codeCraze – 1.0.0 Checkout Field Editor for WooCommerce: by ThemeHigh – 1.6.0 WooCommerce Product Attachment: by theDotstore – 2.1.3 Conditional Discounts for WooCommerce by ORION: by ORION – 4.4.1 WooCommerce All Products For Subscriptions: by WooCommerce – 3.2.2 WooCommerce Extended Coupon Features PRO: by Soft79 – 3.1.3 WooCommerce Deposits: by Webtomizer – 3.0.15 WooCommerce Stripe Gateway: by WooCommerce – 6.3.0 WooCommerce Product Bundles: by WooCommerce – 6.14.0 WooCommerce Subscriptions: by WooCommerce – 4.0.1 WooCommerce TM Extra Product Options: by themeComplete – 4.9.11 WooCommerce: by Automattic – 6.4.1 Wordfence Security: by Wordfence – 7.5.9 Yoast SEO: by Team Yoast – 18.6 Custom Product Tabs for WooCommerce: by YIKES Inc. – 1.7.7 ### Inactive Plugins (0) ### ### Dropin Plugins (1) ### maintenance.php: maintenance.php ### Settings ### API Enabled: – Force SSL: – Currency: GBP (£) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: bundle (bundle) external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) woosb (woosb) 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: #382 - /shop/ Basket: #383 - /basket/ Checkout: #384 - /checkout/ My account: ❌ Page does not contain the [woocommerce_my_account] shortcode. Terms and conditions: #1925 - /terms/ ### Theme ### Name: Twenty Seventeen Version: 2.2 (update to version 2.9 is available) Author URL: https://en-gb.ww.wp.xz.cn/ 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: /home/ftscotland/public_html/wp-content/plugins/woocommerce-tm-extra-product-options/templates/cart/cart-item-data.php twentyseventeen/woocommerce/checkout/form-billing.php twentyseventeen/woocommerce/content-single-product.php twentyseventeen/woocommerce/single-product/product-image.php twentyseventeen/woocommerce/single-product.php ### Subscriptions ### WCS_DEBUG: ✔ No Subscriptions Mode: ✔ Live Subscriptions Live URL: https://ftscotland.org Subscription Statuses: wc-active: 19 wc-expired: 72 wc-on-hold: 22 wc-cancelled: 29 WooCommerce Account Connected: ❌ No Report Cache Enabled: ✔ Yes Cache Update Failures: ✔ 0 failure ### Store Setup ### Country / State: United Kingdom (UK) ### Subscriptions by Payment Gateway ### Cash on delivery: wc-active: 5 wc-on-hold: 9 Stripe: wc-active: 13 wc-cancelled: 27 wc-expired: 70 wc-on-hold: 13 ### Payment Gateway Support ### Stripe: products refunds tokenization add_payment_method subscriptions subscription_cancellation subscription_suspension subscription_reactivation subscription_amount_changes subscription_date_changes subscription_payment_method_change subscription_payment_method_change_customer subscription_payment_method_change_admin multiple_subscriptions PayPal Standard: subscriptions gateway_scheduled_payments subscription_payment_method_change_customer subscription_cancellation subscription_suspension subscription_reactivation products refunds PayPal Reference Transactions Enabled: ❌ No Cash on delivery: products ### Product Bundles ### Database Version: 6.14.0 Loopback Test: ✔ Template Overrides: – ### All Products for WooCommerce Subscriptions ### Template Overrides: – ### Action Scheduler ### Complete: 691 Oldest: 2022-03-28 14:57:47 +0100 Newest: 2022-04-26 16:40:04 +0100 Pending: 44 Oldest: 2022-04-28 15:05:25 +0100 Newest: 2022-10-12 14:31:25 +0100 ### Status report information ### Generated at: 2022-04-26 16:40:05 +01:00Hello Creodesign,
Thanks for sharing the logs here.
I have reviewed that there is one plugin that might be causing an issue.
The plugin name is: Custom Order Numbers for WooCommerce
Please deactivate the above plugin and might it start working for you.
Best Regards,
Hitendra & Dotstore TeamThank you that’s it done
Thanks for the update.
I’m going to mark this as resolved.
If you have any further questions, you can start a new thread.
Best Regards,
Hitendra & Dotstore Team
The topic ‘Issue with attachments expiring’ is closed to new replies.