Unable to edit variations in Woocommerce
-
I had recently upgraded to PHP 8.2. Since then, I’m unable to update variations in Woocommerce. They don’t show up when I click “variations” on the left. Tried clicking “expand” on right side but nothing happens. Everything was working fine before my upgrade. Is this due to the upgrade or other issues? Any assistance here will be greatly appreciated.
-
I have exactly the same issue, but on PHP 8.1.13. It manifests on both my staging and production servers, and both our WordPress networks, and started happening yesterday when we updated all plugins. We test on staging first, but did not notice this issue.
Support info:
https://pastebin.mozilla.org/uegLK4rd
When viewing the variations tab, an AJAX POST is triggered, and that responds with a 500 error. I can see most of the variations markup is returned in the response, but is truncated due to a fatal error. In our case, it is due to the followingadd_action( 'woocommerce_product_after_variable_attributes', 'variation_settings_fields', 10, 3 ); function variation_settings_fields( $loop, $variation_data, $variation ) { echo '<h3>Automation options</h3>'; woocommerce_wp_select( array( 'id' => 'product_automation_type[' . $variation->ID . ']', 'label' => __( 'Automation type', 'woocommerce' ), 'description' => __( 'Select type of automation.', 'woocommerce' ), 'value' => $variation->get_meta('product_automation_type', true) <-- PHP Fatal error: Uncaught Error: Call to undefined method WP_Post::get_meta()
In this case, I solved the issue by changing calls from
$variation->get_meta
toget_post_meta( $variation->ID, 'product_automation_type', true )
Hi @thecottonshoppe,
I ran a test using PHP 8.2 with the latest WC and Storefront theme but couldn’t reproduce the issue.
Did you conduct a conflict test? If not, you can run a conflict test to help you identify the cause of the issue. More info: https://woo.com/document/how-to-test-for-conflicts/
If the issue continues, please can you share a copy of the following:
- System Status Report: Navigate to WooCommerce → Status. Select Get System Report and then Download for Support.
- Fatal Error log: Share a copy of any fatal error log found under WooCommerce → Status → Logs.
You could copy and paste your reply or share it via Mozilla Community Pastebin and share the link here.
Let us know how that goes. Looking forward to helping you.
Hey @ablears,
I’m glad you were able to find a solution to your inquiry here and thanks for sharing it with the community too! ??
Thank you for your reply. So far I downgraded it to PHP 8.1 and the variation works well now. According to Bluehost (my hosting provider), they said 8.2 is unstable with the latest version of woocommerce, causing this conflict. They had suggested to downgrade to version 7.4 instead.
Could this be an issue of variations affecting older listings that were created using version 7.4? Upon upgrading to 8.2, they cannot show up?
I will run a conflict test as you suggested and update here soon.
Here’s the system report you requested:
` WordPress Environment WordPress address (URL): https://www.thecottonshoppe.com<br>Site address (URL): https://www.thecottonshoppe.com<br>WC Version: 8.7.0<br>REST API Version: ? 8.7.0<br>Action Scheduler Version: ? 3.7.2<br>Log Directory Writable: ?<br>WP Version: 6.4.3<br>WP Multisite: –<br>WP Memory Limit: 5 GB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: – Server Environment Server Info: Apache<br>PHP Version: 8.1.27<br>PHP Post Max Size: 5 GB<br>PHP Time Limit: 6000<br>PHP Max Input Vars: 6000<br>cURL Version: 8.6.0<br>OpenSSL/1.1.1w SUHOSIN Installed: –<br>MySQL Version: 5.7.23-23<br>Max Upload Size: 2 GB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database WC Database Version: 8.7.0<br>WC Database Prefix: wp_<br>Total Database Size: 338.93MB<br>Database Data Size: 297.49MB<br>Database Index Size: 41.44MB<br>wp_woocommerce_sessions: Data: 5.50MB + Index: 0.28MB + Engine MyISAM<br>wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_order_items: Data: 0.52MB + Index: 0.14MB + Engine MyISAM<br>wp_woocommerce_order_itemmeta: Data: 9.34MB + Index: 1.49MB + Engine MyISAM<br>wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_payment_tokenmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM<br>wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_actionscheduler_actions: Data: 1.06MB + Index: 1.14MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 1.02MB + Index: 0.00MB + Engine InnoDB<br>wp_aioseo_cache: Data: 1.52MB + Index: 0.09MB + Engine InnoDB<br>wp_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_aioseo_posts: Data: 3.52MB + Index: 0.14MB + Engine InnoDB<br>wp_cleantalk_ac_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cleantalk_connection_reports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cleantalk_no_cookie_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cleantalk_sessions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cleantalk_sfw: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_cleantalk_sfw_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cleantalk_sfw_personal: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_cleantalk_spamscan_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_cleantalk_ua_bl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_cleantalk_wc_spam_orders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_comments: Data: 1.53MB + Index: 0.38MB + Engine MyISAM<br>wp_ewwwio_images: Data: 9.52MB + Index: 7.06MB + Engine InnoDB<br>wp_ewwwio_queue: Data: 0.13MB + Index: 0.08MB + Engine InnoDB<br>wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB<br>wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_failed_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_fca_eoi_activity: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_fca_eoi_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.11MB + Engine InnoDB<br>wp_gla_merchant_issues: Data: 3.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_jt_delivery_order: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_jt_return_order: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_jt_service_mapping: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_layerslider: Data: 0.04MB + Index: 0.00MB + Engine MyISAM<br>wp_layerslider_revisions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_lws_wr_achieved_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_lws_wr_historic: Data: 0.24MB + Index: 0.07MB + Engine MyISAM<br>wp_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB<br>wp_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_segments: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mclean_refs: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>wp_mclean_scan: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mo_campaign_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_mo_campaign_logmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_mo_conversions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_mo_email_campaignmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_mo_email_campaigns: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_mo_optin_campaignmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_mo_optin_campaigns: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_nx_entries: Data: 0.09MB + Index: 0.03MB + Engine InnoDB<br>wp_nx_posts: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_nx_stats: Data: 0.08MB + Index: 0.05MB + Engine InnoDB<br>wp_options: Data: 9.21MB + Index: 1.00MB + Engine MyISAM<br>wp_pimwick_gift_card: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_pimwick_gift_card_activity: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_postmeta: Data: 32.66MB + Index: 6.28MB + Engine MyISAM<br>wp_posts: Data: 4.14MB + Index: 0.91MB + Engine MyISAM<br>wp_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_css: Data: 0.09MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_css_bkp: Data: 0.09MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_layer_animations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_layer_animations_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_navigations: Data: 0.01MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_slides: Data: 0.29MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_slides_bkp: Data: 0.48MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_static_slides: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_revslider_static_slides_bkp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_re_lat_lng: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_sgpb_subscribers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_sgpb_subscription_error_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_termmeta: Data: 0.46MB + Index: 0.25MB + Engine MyISAM<br>wp_terms: Data: 0.14MB + Index: 0.26MB + Engine MyISAM<br>wp_term_relationships: Data: 0.48MB + Index: 0.85MB + Engine MyISAM<br>wp_term_taxonomy: Data: 0.10MB + Index: 0.10MB + Engine MyISAM<br>wp_usermeta: Data: 0.83MB + Index: 0.44MB + Engine MyISAM<br>wp_users: Data: 0.05MB + Index: 0.04MB + Engine MyISAM<br>wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.28MB + Index: 0.30MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.13MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.09MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.14MB + Index: 0.14MB + Engine MyISAM<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM<br>wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wdr_order_discounts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wdr_order_item_discounts: Data: 0.16MB + Index: 0.00MB + Engine InnoDB<br>wp_wdr_rules: Data: 0.08MB + Index: 0.00MB + Engine InnoDB<br>wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wfconfig: Data: 0.48MB + Index: 0.00MB + Engine InnoDB<br>wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wffilemods: Data: 78.64MB + Index: 0.00MB + Engine InnoDB<br>wp_wfhits: Data: 0.27MB + Index: 0.05MB + Engine InnoDB<br>wp_wfhoover: Data: 78.59MB + Index: 12.52MB + Engine InnoDB<br>wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wfknownfilelist: Data: 35.56MB + Index: 0.00MB + Engine InnoDB<br>wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY<br>wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wfstatus: Data: 1.02MB + Index: 0.09MB + Engine InnoDB<br>wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woo_shippment_provider: Data: 0.16MB + Index: 0.00MB + Engine InnoDB<br>wp_wpc_accesslocks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpc_login_fails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>wp_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_debug_events: Data: 0.09MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpml_mails: Data: 3.52MB + Index: 0.00MB + Engine InnoDB<br>wp_wpr_rocket_cache: Data: 1.19MB + Index: 1.33MB + Engine InnoDB<br>wp_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_wpsmtp_logs: Data: 0.08MB + Index: 0.00MB + Engine InnoDB<br>wp_wt_iew_action_history: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_yoast_indexable: Data: 2.52MB + Index: 0.80MB + Engine InnoDB<br>wp_yoast_indexable_hierarchy: Data: 0.17MB + Index: 0.20MB + Engine InnoDB<br>wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_yoast_primary_term: Data: 0.11MB + Index: 0.13MB + Engine InnoDB<br>wp_yoast_seo_links: Data: 0.10MB + Index: 0.05MB + Engine MyISAM<br>wp_yoast_seo_meta: Data: 0.10MB + Index: 0.08MB + Engine MyISAM<br>xq7_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>xq7_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_ce4wp_abandoned_checkout: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>xq7_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_options: Data: 1.52MB + Index: 0.06MB + Engine InnoDB<br>xq7_postmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>xq7_posts: Data: 0.05MB + Index: 0.06MB + Engine InnoDB<br>xq7_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>xq7_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>xq7_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>xq7_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>xq7_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>xq7_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>xq7_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>xq7_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>xq7_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>xq7_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>xq7_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>xq7_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>xq7_yoast_indexable: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>xq7_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>xq7_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>xq7_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>xq7_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB Post Type Counts attachment: 6318<br>autosearch_template: 3<br>carousels: 6<br>custom_css: 3<br>elementor_library: 5<br>global_product_addon: 1<br>gp_elements: 1<br>iksm: 1<br>jetpack_migration: 2<br>lws-wre-event: 6<br>lws-wre-pool: 1<br>lws-wre-unlockable: 1<br>mailpoet_page: 1<br>nav_menu_item: 179<br>notificationx: 6<br>oembed_cache: 13<br>omapi: 1<br>page: 34<br>popupbuilder: 4<br>post: 4<br>product: 1293<br>product_variation: 642<br>reactive_builder: 1<br>reactive_category: 2<br>reactive_grid: 34<br>reactive_layouts: 1<br>reactive_map_marker: 1<br>revision: 21<br>re_preview_popup: 1<br>shop_coupon: 546<br>shop_order: 996<br>shop_order_refund: 96<br>slides: 3<br>spucpt: 2<br>wpcf7_contact_form: 3<br>wp_global_styles: 1<br>yith_wcan_preset: 1 Security Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (43) J&T Express Singapore: by J&T Team – 1.0.4<br>Advanced Google reCAPTCHA: by WebFactory Ltd – 1.20<br>AWeber for WordPress: by AWeber – 7.3.16<br>Blackhole for Bad Bots: by Jeff Starr – 3.7<br>Anti-Spam by CleanTalk: by СleanTalk - Anti-Spam Protection – 6.29<br>Contact Form 7: by Takayuki Miyoshi – 5.9.3<br>Elementor Pro: by Elementor.com – 3.20.1<br>Elementor: by Elementor.com – 3.20.2<br>Essential Addons for Elementor - Pro: by WPDeveloper – 5.8.10<br>Essential Addons for Elementor: by WPDeveloper – 5.9.11<br>EWWW Image Optimizer: by Exactly WWW – 7.4.0<br>Facebook for WooCommerce: by Facebook – 3.1.12<br>Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.25.0<br>GP Premium: by Tom Usborne – 2.4.0<br>Jetpack: by Automattic – 13.2.2<br>Media Cleaner (Pro): by Jordy Meow – 6.7.3<br>NotificationX: by WPDeveloper – 2.8.4<br>OptinMonster: by OptinMonster Popup Builder Team – 2.16.0<br>Popup Builder: by Looking Forward Software Incorporated. – 4.2.7<br>PW WooCommerce Gift Cards: by Pimwick<br>LLC – 1.253 Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.6<br>UpdraftPlus - Backup/Restore: by UpdraftPlus.Com<br>DavidAnderson – 1.24.1 W3 Accelerate: by W3 Accelerate – 1.2.3<br>Advanced Shipment Tracking for WooCommerce: by zorem – 3.6.5<br>Discount Rules PRO 2.0: by Flycart – 2.6.3<br>Discount Rules Core: by Flycart – 2.6.3<br>WOOCS - WooCommerce Currency Switcher: by realmag777 – 2.3.0<br>WooCommerce Stripe Gateway: by WooCommerce – 8.0.1<br>WooPayments: by Automattic – 7.3.0<br>PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.8.0<br>Woo Product Add-ons: by Woo – 6.8.0<br>WooCommerce: by Automattic – 8.7.0<br>MyRewards: by Long Watch Studio – 5.3.2<br>Wordfence Security Activ@tor: by moh@medhk2 – 1.4.0<br>Wordfence Security: by Wordfence – 7.11.4<br>Yoast SEO: by Team Yoast – 22.3<br>Wp Felody: by WordPress – 1.0.0<br>WP Mail SMTP: by WP Mail SMTP – 4.0.1<br>WP Rocket: by WP Media – 3.15.10<br>WPForms Lite: by WPForms – 1.8.7.2<br>YITH WooCommerce Ajax Product Filter: by YITH – 4.31.0<br>YITH WooCommerce Wishlist: by YITH – 3.31.0<br>Twenty Sake Pro: by Eliehaz – 5.4.8 Inactive Plugins (6) Easyship: by Easyship – 0.9.9<br>FedEx Live Rates: by Octolize – 2.8.0<br>Migrate Guru: by Migrate Guru – 5.48<br>PW WooCommerce Bulk Edit: by Pimwick<br>LLC – 2.124 TrustPulse API: by – 1.2.2<br>WooCommerce Admin: by WooCommerce – 3.3.2 Dropin Plugins () advanced-cache.php: advanced-cache.php<br>db-error.php: db-error.php<br>maintenance.php: maintenance.php Must Use Plugins (3) Endurance Browser Cache: by Mike Hansen – 0.4<br>Endurance Page Cache: by Mike Hansen – 2.2<br>SSO: by Garth Mortensen<br>Mike Hansen – 0.4 Settings API Enabled: –<br>Force SSL: –<br>Currency: SGD (S$)<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>pw gift card (pw-gift-card)<br>simple (simple)<br>variable (variable) 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) Connected to Woo.com: ?<br>Enforce Approved Product Download Directories: –<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – Logging Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 739 KB WC Pages Shop base: #36 - /shop/<br>Cart: #37 - /cart/<br>Checkout: #38 - /checkout/<br>My account: #39 - /my-account/<br>Terms and conditions: #3 - /privacy-policy/ Theme Name: GeneratePress Child<br>Version: 0.1<br>Author URL: https://tomusborne.com<br>Child Theme: ?<br>Parent Theme Name: GeneratePress<br>Parent Theme Version: 3.4.0<br>Parent Theme Author URL: https://tomusborne.com<br>WooCommerce Support: ? Templates Overrides: – WooPayments Version: 7.3.0<br>Connected to WPCOM: Yes<br>WPCOM Blog ID: 154896875<br>Account ID: acct_1ONroGCLDcuHWshX<br>Payment Gateway: Enabled<br>Test Mode: Disabled<br>Enabled APMs: card<br>WooPay: Not eligible<br>Apple Pay / Google Pay: Enabled (product,cart,checkout)<br>Fraud Protection Level: basic<br>Multi-currency: Enabled<br>Public Key Encryption: Disabled<br>Auth and Capture: Enabled<br>Documents: Disabled<br>Logging: Disabled Admin Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<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>product-variation-management<br>product-virtual-downloadable<br>product-external-affiliate<br>product-grouped<br>product-linked<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<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 Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field Daily Cron: ? Next scheduled: 2024-03-25 04:44:53 +08:00<br>Options: ?<br>Notes: 205<br>Onboarding: completed Action Scheduler Complete: 1,814<br>Oldest: 2024-02-22 17:38:42 +0800<br>Newest: 2024-03-24 17:10:19 +0800 Failed: 89<br>Oldest: 2021-11-26 17:48:12 +0800<br>Newest: 2024-03-14 03:28:17 +0800 Pending: 23<br>Oldest: 2024-03-24 17:07:28 +0800<br>Newest: 2024-03-27 08:29:11 +0800 Status report information Generated at: 2024-03-24 17:10:24 +08:00<br>`
Fatal Error log: nothing found
Hi @thecottonshoppe,
So far I downgraded it to PHP 8.1 and the variation works well now.
I’m glad to hear that downgrading to PHP 8.1 has helped with the variation issue.
According to Bluehost (my hosting provider), they said 8.2 is unstable with the latest version of woocommerce, causing this conflict. They had suggested to downgrade to version 7.4 instead.
We’re continually testing and enhancing compatibility with the latest version of PHP. So far, we haven’t received many reports regarding PHP 8.2. However, as your hosting provider recommended, it’s best to stick with PHP 8.1 since everything is working perfectly on it. I have noticed that many other WordPress-managed hosting providers suggest sticking with PHP 8.1.
You can find more info regarding WooCommerce requirements here: https://woo.com/document/server-requirements/
Could this be an issue of variations affecting older listings that were created using version 7.4? Upon upgrading to 8.2, they cannot show up?
No, it doesn’t matter which PHP version you used when creating a product variation. It should work fine with any later and compatible version. However, be aware that any custom code, customization, or plugin that interferes with products, product settings, or variations might create conflict.
I hope this clarifies your concern. If you have any other questions, feel free to ask.
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.
- The topic ‘Unable to edit variations in Woocommerce’ is closed to new replies.