Can’t edit product when plugin is enabled
-
Dear support team,
When the plugin is enabled, I can’t edit any product. It shows “503” error.
My website is still OK.
If I disable the plugin, I can edit products as usual.Photo: https://i.ibb.co/zQDFKdP/503.png
Hope you will fix it soon.
Thank you!
-
Hi @winzyatan,
Could you please confirm that you’re using the latest version (2.3.1) of the plugin and that your version of WooCommerce is up to date?
Additionally, could you please check if the issue exists with the [Storefront] theme activated? Finally, can you replicate the issue with just WooCommerce and the Facebook for WooCommerce extension activated?
You can find a more detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/
Please let me know what you find so I can help further.
I am using ‘Facebook for WooCommerce’ 2.3.1 and ‘WooCommerce’ 5.0.0.
With the [Storefront] theme activated, the issue still exists.
I tried to deactivate all other plugins, only ‘Woocommerce’ and ‘Facebook for WooCommerce’ were active, but I still cannot edit any product.
The problem is only resolved when I deactivate ‘Facebook for WooCommerce’.
I have the same problem here!
Though I can access the product edit page, but I can’t edit anything, it is not even possible to change product or gallery pictures.
I can’t edit anything, when I inspect the site (product – backend) I get two problem messages:
The resource https://stilomio.com/wp-content/plugins/woocommerce-admin/dist/components/index.min.js?ver=2.0.2 was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriate
asvalue and it is preloaded intentionally.
post.php?post=21873&action=edit:1 The resource https://stilomio.com/wp-content/plugins/woocommerce-admin/dist/app/index.min.js?ver=2.0.2 was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriateasvalue and it is preloaded intentionally.What can I do?
-
This reply was modified 5 years, 3 months ago by
stilomio.
Hi @winzyatan
The site’s PHP
memory_limitcould be causing the issue here.What the limit should be depends on how much else a site has going on. We generally recommend a limit of at least 512 MB to ensure that everything is covered, though some situations could demand more.
https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/
Please increase the limit and let us know how this goes.
Since you’re not the person who originally started this topic then, per the forum guidelines, would you please start your own topic? We’ll be more than happy to help there.
memory_limit has been set to 512M in my host configuration for some months.
Hi @winzyatan
I’d recommend increasing the limit again.
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.
I’ve increased it to 768M and 1024M (add
define('WP_MEMORY_LIMIT', '1024M');in wp-config.php), but the issue still exists.Below is my site’s System Status:
______________### WordPress Environment ### WordPress address (URL): https://athenavshop.com Site address (URL): https://athenavshop.com WC Version: 5.0.0 REST API Version: ✔ 5.0.0 WC Blocks Version: ✔ 4.0.0 Action Scheduler Version: ✔ 3.1.6 WC Admin Version: ✔ 1.9.0 Log Directory Writable: ✔ WP Version: 5.6.2 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.11 PHP Post Max Size: 128 MB PHP Time Limit: 3600 PHP Max Input Vars: 5000 cURL Version: 7.71.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.5.5-10.4.15-MariaDB Max Upload Size: 128 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 5.0.0 WC Database Prefix: wp_ Total Database Size: 50.79MB Database Data Size: 42.36MB Database Index Size: 8.43MB wp_woocommerce_sessions: Data: 0.22MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.17MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.16MB + Index: 0.14MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.39MB + Index: 0.45MB + 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.28MB + Index: 0.17MB + Engine InnoDB wp_automatewoo_abandoned_carts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_automatewoo_customers: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_automatewoo_customer_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_automatewoo_events: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_automatewoo_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_automatewoo_guest_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_automatewoo_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_automatewoo_log_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_automatewoo_queue: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_automatewoo_queue_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_automatewoo_referrals: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_automatewoo_referral_advocate_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_automatewoo_referral_invites: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.05MB + Index: 0.09MB + Engine InnoDB wp_ewwwio_images: Data: 0.41MB + Index: 0.27MB + Engine InnoDB wp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_ip2location_country_blocker_log: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_litespeed_cssjs: Data: 7.52MB + Index: 0.11MB + Engine InnoDB wp_litespeed_img_optm: Data: 1.52MB + Index: 0.22MB + Engine InnoDB wp_litespeed_img_optming: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletters: Data: 0.11MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_templates: Data: 3.52MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_scheduled_tasks: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_scheduled_task_subscribers: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_segments: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_sending_queues: Data: 0.09MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_options: Data: 4.47MB + Index: 0.20MB + Engine InnoDB wp_postmeta: Data: 3.52MB + Index: 1.88MB + Engine InnoDB wp_posts: Data: 7.52MB + Index: 0.31MB + Engine InnoDB wp_sms_send: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sms_subscribes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_sms_subscribes_group: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_usermeta: Data: 0.17MB + Index: 0.14MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + 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.02MB + Index: 0.05MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wp_wc_order_stats: Data: 0.02MB + Index: 0.33MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wfconfig: Data: 0.48MB + 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: 0.34MB + 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: 2.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.38MB + Index: 0.13MB + 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.11MB + Engine InnoDB wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_ywpar_points_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 1.52MB + Index: 0.30MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.06MB + 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.16MB + Index: 0.09MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 576 aw_workflow: 7 custom_css: 1 customize_changeset: 4 jp_img_sitemap: 3 jp_sitemap: 3 jp_sitemap_master: 3 mailpoet_page: 1 mycred_badge: 3 nav_menu_item: 47 oembed_cache: 20 page: 29 post: 7 product: 80 product_variation: 161 revision: 813 ris_gallery: 1 sa_slider: 2 shop_coupon: 13 shop_order: 66 shop_order_refund: 3 user_request: 1 wpforms: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (28) ### IP2Location Country Blocker: by IP2Location – 2.25.7 Akismet Anti-Spam: by Automattic – 4.1.9 All-in-One WP Migration: by ServMask – 7.37 AutomateWoo - Birthdays Add-on: by WooCommerce – 1.2.0 (update to version 1.3.1 is available) AutomateWoo - Refer A Friend Add-on: by WooCommerce – 2.5.6 AutomateWoo: by WooCommerce – 5.2.1 Customer Reviews for WooCommerce: by Customer Reviews – 4.5 Email Verification for WooCommerce: by WPFactory – 2.0.5 Facebook for WooCommerce: by Facebook – 2.3.1 Flexible Shipping: by WP Desk – 4.1.0 Jetpack by WordPress.com: by Automattic – 9.5 LiteSpeed Cache: by LiteSpeed Technologies – 3.6.2 MailPoet 3 Premium (New): by MailPoet – 3.60.0 MailPoet 3 (New): by MailPoet – 3.60.2 Members: by MemberPress – 3.1.3 Ngan Luong: by nguyencamhue – 1.2.2 No Right Click Images Plugin: by Keith P. Graham – 3.5 Fonts Plugin | Google Fonts Typography: by Fonts Plugin – 2.5.4 Slide Anything - Responsive Content / HTML Slider and Carousel: by Simon Edge – 2.3.33 WooCommerce Smart COD: by woosmartcod.com – 1.6.1 WooCommerce: by Automattic – 5.0.0 Wordfence Security: by Wordfence – 7.4.14 Yoast SEO: by Team Yoast – 15.9 WP CLI Login Command Server: by Evan Mattson – 1.2 WP Maintenance Mode: by Designmodo – 2.3.0 WPForms Lite: by WPForms – 1.6.5 Smart Coupons for WooCommerce: by WebToffee – 1.2.8 YITH WooCommerce Points and Rewards Premium: by YITH – 2.0.4 ### Inactive Plugins (1) ### Product Video for WooCommerce: by Addify – 1.3.5 (update to version 1.3.6 is available) ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Settings ### API Enabled: – Force SSL: – Currency: VND (₫) Currency Position: right Thousand Separator: . Decimal Separator: , Number of Decimals: 0 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: #77 - /shop/ Cart: #78 - /cart/ Checkout: #79 - /checkout/ My account: #80 - /account/ Terms and conditions: ❌ Page not set ### Theme ### Name: Trusted Version: 1.7.2 Author URL: https://uxlthemes.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: trusted/woocommerce/emails/customer-new-account.php trusted/woocommerce/emails/email-header.php trusted/woocommerce/myaccount/navigation.php trusted/woocommerce/single-product-reviews.php ### Action Scheduler ### Canceled: 1 Oldest: 2021-02-26 23:39:05 +0700 Newest: 2021-02-26 23:39:05 +0700 Complete: 1,158 Oldest: 2021-01-31 20:20:01 +0700 Newest: 2021-03-03 19:48:13 +0700 Failed: 9 Oldest: – Newest: – Pending: 2 Oldest: 2021-03-04 08:14:51 +0700 Newest: 2021-03-05 23:48:44 +0700Hi @winzyatan
The status report shows a child theme is active as well as other plugins. After switching back to a default theme like Twenty Twenty-One and disabling all plugins except for WooCommerce and Facebook for WooComemrce, navigate to Settings > Permalinks and click the save button. Then try editing a product page to see if this resolves the problem.
If this fixes the issue, then re-enable each plugin one at a time, then the theme, until you find the one that’s causing the conflict.
After disabling all plugins except for WooCommerce and Facebook for WooCommerce, with Twenty Twenty-One theme activated, it works.
– When I re-enable MailPoet 3 plugin, 100% the issue occurs.
– When I re-enable other plugins, the issue sometimes occurs.Then I enable all plugins (except for MailPoet 3) and activate my theme. The issue is almost resolved, although it does still occur sometimes.
Hi @winzyatan
Great to hear that it works with only WooCommerce, Facebook and a default theme active.
In this case it indeed sounds like the plugins running on the site are requiring a fair amount of memory to function correctly, and thus you will want to raise the limit until the site functions correctly will all necessary plugins active (it’s best to keep this to a minimum in the first place).
I’ll mark this thread as resolved now, as we have been able to determine that the Facebook plugin is not the cause of the issue on the site.
If you have any further questions, I recommend creating a new thread.
-
This reply was modified 5 years, 3 months ago by
The topic ‘Can’t edit product when plugin is enabled’ is closed to new replies.