Fatal error with variable product
-
When the plugin Facebook for Woocommerce is actived I can not edit or add a variable product, it is like the attributes were not created but they were, and I received an email from WordPress warnign me about a fatal error with this plugin and send the link (the variable product page), then I disabled the plugin and everything worked fine.
I am working with WordPress 5.6.1, Woocommerce 5.0 and Facebook for Woocommerce 2.2.0.
-
Hi!
Can you please provide the Fatal error logs from your site so we have more context?
You can access these logs from WP-admin > WooCommerce > Status > Logs and then looking for the fatal error logs in the dropdown on the right.
Additionally, It will be great if you could share your current System Status Report. You can get it by navigating to the
WooCommerce / Status
section of your site. Once there, click on theGet system report
button and then copy it by clicking on theCopy for support
button. Then paste it here in a comment.Thank you for your response,
2021-02-16T02:29:29+00:00 CRITICAL Maximum execution time of 30 seconds exceeded en /home3/satisfas/public_html/wp-content/plugins/ocean-extra/includes/panel/scssphp/src/Parser.php en la línea 875
### WordPress Environment ### WordPress address (URL): https://www.satisfashion.com.co Site address (URL): https://www.satisfashion.com.co 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.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: es_ES External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.27 PHP Post Max Size: 516 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.74.0 OpenSSL/1.1.1i SUHOSIN Installed: – MySQL Version: 5.7.23-23 Max Upload Size: 512 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: wpbi_ Tama?o total de la base de datos: 38.35MB Tama?o de los datos de la base de datos: 33.95MB Tama?o del índice de la base de datos: 4.40MB wpbi_woocommerce_sessions: Datos: 0.14MB + índice: 0.00MB + Motor MyISAM wpbi_woocommerce_api_keys: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_woocommerce_attribute_taxonomies: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_woocommerce_downloadable_product_permissions: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_woocommerce_order_items: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_woocommerce_order_itemmeta: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_woocommerce_tax_rates: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_woocommerce_tax_rate_locations: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_woocommerce_shipping_zones: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_woocommerce_shipping_zone_locations: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_woocommerce_shipping_zone_methods: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_woocommerce_payment_tokens: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_woocommerce_payment_tokenmeta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_woocommerce_log: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_actionscheduler_actions: Datos: 2.96MB + índice: 1.09MB + Motor MyISAM wpbi_actionscheduler_claims: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_actionscheduler_groups: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_actionscheduler_logs: Datos: 1.87MB + índice: 1.34MB + Motor MyISAM wpbi_aws_cache: Datos: 0.16MB + índice: 0.00MB + Motor MyISAM wpbi_aws_index: Datos: 0.06MB + índice: 0.03MB + Motor MyISAM wpbi_berocket_termmeta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_commentmeta: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_comments: Datos: 0.01MB + índice: 0.01MB + Motor MyISAM wpbi_epayco_order: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpbi_links: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_mailchimp_carts: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_mailchimp_jobs: Datos: 0.02MB + índice: 0.00MB + Motor MyISAM wpbi_nextend2_image_storage: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_nextend2_section_storage: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_nextend2_smartslider3_generators: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_nextend2_smartslider3_sliders: Datos: 0.02MB + índice: 0.00MB + Motor MyISAM wpbi_nextend2_smartslider3_sliders_xref: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_nextend2_smartslider3_slides: Datos: 0.03MB + índice: 0.01MB + Motor MyISAM wpbi_options: Datos: 4.10MB + índice: 0.12MB + Motor MyISAM wpbi_postmeta: Datos: 4.28MB + índice: 0.43MB + Motor MyISAM wpbi_posts: Datos: 2.57MB + índice: 0.16MB + Motor MyISAM wpbi_rank_math_404_logs: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_rank_math_analytics_gsc: Datos: 0.02MB + índice: 0.06MB + Motor InnoDB wpbi_rank_math_analytics_objects: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpbi_rank_math_internal_links: Datos: 0.03MB + índice: 0.01MB + Motor MyISAM wpbi_rank_math_internal_meta: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_rank_math_redirections: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_rank_math_redirections_cache: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_rank_math_sc_analytics: Datos: 0.01MB + índice: 0.01MB + Motor MyISAM wpbi_shipping_rates_cities_wc_sr: Datos: 0.09MB + índice: 0.00MB + Motor InnoDB wpbi_social_users: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_tcb_api_error_log: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_td_fields: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_td_groups: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_termmeta: Datos: 0.01MB + índice: 0.02MB + Motor MyISAM wpbi_terms: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_term_relationships: Datos: 0.01MB + índice: 0.02MB + Motor MyISAM wpbi_term_taxonomy: Datos: 0.01MB + índice: 0.01MB + Motor MyISAM wpbi_tinvwl_analytics: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_tinvwl_items: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_tinvwl_lists: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_tve_leads_contacts: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_tve_leads_contact_download: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_tve_leads_event_log: Datos: 0.02MB + índice: 0.04MB + Motor MyISAM wpbi_tve_leads_form_summary: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_tve_leads_form_variations: Datos: 0.42MB + índice: 0.01MB + Motor MyISAM wpbi_tve_leads_group_options: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_tve_leads_saved_group_options: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_tve_leads_split_test: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_tve_leads_split_test_items: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_usermeta: Datos: 0.03MB + índice: 0.02MB + Motor MyISAM wpbi_users: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_wcmnd_analytics: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wc_admin_notes: Datos: 0.01MB + índice: 0.00MB + Motor MyISAM wpbi_wc_admin_note_actions: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wc_category_lookup: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wc_customer_lookup: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_wc_download_log: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wc_order_coupon_lookup: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wc_order_product_lookup: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_wc_order_stats: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_wc_order_tax_lookup: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wc_product_meta_lookup: Datos: 0.01MB + índice: 0.02MB + Motor MyISAM wpbi_wc_reserved_stock: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wc_tax_rate_classes: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_wc_webhooks: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wfblockediplog: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wfblocks7: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wfconfig: Datos: 13.01MB + índice: 0.02MB + Motor MyISAM wpbi_wfcrawlers: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wffilechanges: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wffilemods: Datos: 2.35MB + índice: 0.49MB + Motor MyISAM wpbi_wfhits: Datos: 0.06MB + índice: 0.02MB + Motor MyISAM wpbi_wfhoover: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wfissues: Datos: 0.02MB + índice: 0.01MB + Motor MyISAM wpbi_wfknownfilelist: Datos: 1.25MB + índice: 0.15MB + Motor MyISAM wpbi_wflivetraffichuman: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wflocs: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wflogins: Datos: 0.10MB + índice: 0.02MB + Motor MyISAM wpbi_wfls_2fa_secrets: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpbi_wfls_settings: Datos: 0.02MB + índice: 0.00MB + Motor InnoDB wpbi_wfnotifications: Datos: 0.02MB + índice: 0.00MB + Motor MyISAM wpbi_wfpendingissues: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wfreversecache: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wfsnipcache: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wfstatus: Datos: 0.15MB + índice: 0.06MB + Motor MyISAM wpbi_wftrafficrates: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_woof_query_cache: Datos: 0.02MB + índice: 0.02MB + Motor InnoDB wpbi_wpforms_tasks_meta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wpf_filters: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wpuf_subscribers: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_wpuf_transaction: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_xoo_wl_list: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_xoo_wl_list_meta: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wpbi_yith_wcwl: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wpbi_yith_wcwl_lists: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM ### Post Type Counts ### _tcb_form_settings: 1 attachment: 185 custom_css: 3 customize_changeset: 28 cwginstocknotifier: 1 elementor_library: 6 nav_menu_item: 62 oceanwp_library: 7 page: 19 post: 1 product: 76 product_variation: 38 revision: 606 shop_coupon: 1 tve_form_type: 1 tve_lead_group: 1 tve_lead_shortcode: 1 wcp_ruleset: 1 wpforms: 3 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (30) ### ePayco WooCommerce: por ePayco – 3.5.4 Advanced Woo Search: por ILLID – 2.21 Click to Chat: por HoliThemes – 3.2.6 Elementor: por Elementor.com – 3.1.1 Facebook for WooCommerce: por Facebook – 2.2.0 Flexible Checkout Fields: por WP Desk – 2.9.2 Mailchimp for WooCommerce: por Mailchimp – 2.5.0 Ocean Cookie Notice: por OceanWP – 1.0.5 Ocean Elementor Widgets: por OceanWP – 1.2.6 Ocean Extra: por OceanWP – 1.7.1 Ocean Footer Callout: por OceanWP – 1.1.0 Ocean Product Sharing: por OceanWP – 1.1.0 Ocean Social Sharing: por OceanWP – 1.1.0 Ocean Sticky Header: por OceanWP – 1.2.0 Rank Math SEO: por Rank Math – 1.0.57.1 Shortcode in Menus: por Gagan Deep Singh – 3.5.1 Super Socializer: por Team Heateor – 7.13.13 Thrive Leads: por <a href="https://thrivethemes.com">Thrive Themes</a> – 2.3.8.2 Thrive Product Manager: por Thrive Themes – 1.2.4 TI WooCommerce Wishlist: por TemplateInvaders – 1.23.4 UpdraftPlus - Backup/Restore: por UpdraftPlus.Com DavidAnderson – 1.16.47 User Menus: por Code Atlantic – 1.2.5 Waitlist Woocommerce Premium ( Back in stock notifier ): por – 3.0 Variation Swatches for WooCommerce: por Emran Ahmed – 1.1.10 WooCommerce Google Analytics Integration: por WooCommerce – 1.5.1 WOOF - WooCommerce Products Filter: por realmag777 – 2.2.4.2 WooCommerce Shipping Rates by City: por timersys – 1.0.2.7 WooCommerce: por Automattic – 5.0.0 Wordfence Security: por Wordfence – 7.4.14 WP Fastest Cache: por Emre Vona – 0.9.1.5 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: COP ($) 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 ### Base de la tienda: #7 - /tienda/ Carrito: #8 - /cart/ Finalizar compra: #9 - /checkout/ Mi cuenta: #10 - /mi-cuenta/ Términos y condiciones: #1078 - /terminos-condiciones/ ### Theme ### Name: OceanWP Child Version: 1.0 Author URL: https://oceanwp.org/ Child Theme: ? Parent Theme Name: OceanWP Parent Theme Version: 2.0.2 Parent Theme Author URL: https://oceanwp.org/about-me/ WooCommerce Support: ? ### Templates ### Overrides: oceanwp/woocommerce/cart/mini-cart.php oceanwp/woocommerce/content-single-product.php oceanwp/woocommerce/loop/loop-start.php oceanwp/woocommerce/single-product/title.php ### Plantillas de TI WooCommerce Wishlist ### Anulaciones: – ### Action Scheduler ### Complete: 2.145 Oldest: 2021-01-16 10:46:13 -0500 Newest: 2021-02-16 10:28:13 -0500 Pending: 3 Oldest: 2021-02-16 10:43:13 -0500 Newest: 2021-02-18 20:37:53 -0500
Hi @fortiz76!
Thanks for the logs and your SSR they are very helpful!
The logs have provided the culprit, specifically this part:
wp-content/plugins/ocean-extra/includes/panel/scssphp/src/Parser.php en la línea 875
This tells us that the culprit behind the crash is your Ocean Extra plugin, can you try deactivating this plugin then checking again?
Hello crazywickedawesome,
I did what you told me to do but I got another error:
2021-02-18T21:23:27+00:00 CRITICAL Allowed memory size of 268435456 bytes exhausted (tried to allocate 987136 bytes) en /home3/xxxx/public_html/wp-includes/class.wp-scripts.php en la línea 301
I increased the WordPress limit to 256 MB and did not work too.
Next I did this:
“What I did is rename the fb_google_category_to_attribute_mapping.json
So it is not loaded anymore”.Took it from the forum:
https://www.ads-software.com/support/topic/memory-limit-reached-after-last-update/I kept receiving the same error although I could add a variation. Unbelievable, maybe is time for a fix.
Thanks.
Hi @fortiz76
Thanks for getting back to us!
We recommend a minimum memory limit of 512 MB for Facebook for WooCommerce to work properly.
Can you try setting your limit to 512 MB or higher, and then deactivating all other plugins except Facebook for WooCommerce and WooCommerce itself before trying a new sync?
Best,
Hello @crazywickedawesome, thank you very much, now it is working nicely. It might be a recommendation to use 512 MB to all the users. Thanks again.
Hi @fortiz76!
I’m glad to hear we were able to get you sorted out! I’m going to mark this thread as resolved now!
- The topic ‘Fatal error with variable product’ is closed to new replies.