Customizer controls script throws when WooCommerce is inactive and an Elementor shop template exists (woocommerce_product_catalog section missing)
Los mantenedores suelen responder en 1 día
@girishpanchal30 ya está trabajando en esto.
Desde el 13/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Summary
With WooCommerce deactivated and a leftover Elementor shop (product archive) template on the site, the Customizer, including the Header Builder, fails to finish loading and stays stuck.
Expected: the Customizer loads normally; the Elementor-template warning is only attempted when the WooCommerce section exists.
Actual: a script error stops initialization.
Impact: the Header Builder and Customizer are unusable on affected sites until WooCommerce is re-enabled or the template is removed.
Customer context
- Product / area: Neve (Pro) Customizer / Header Builder
- Version: Not provided
- Environment: WooCommerce disabled; Elementor shop template remains
- Reported symptom: Customizer/Header Builder stuck loading
- Impact: Customizer unusable on that site
Reproduction notes
Inferred steps: 1) Create an Elementor product archive template. 2) Deactivate WooCommerce. 3) Open the Customizer. Expected: the script error appears and the UI hangs. Not reproduced at runtime.
Diagnosis
Conclusion
The code path appears to call .notifications on the result of wp.customize.section('woocommerce_product_catalog') without checking that the section exists. That section is registered by WooCommerce, so with WooCommerce off the result is likely undefined and the call would throw. This is inferred from source, not runtime-verified.
Where this likely occurs
assets/apps/customizer-controls/src/controls.js—checkHasElementorTemplates()approx. lines 317–345, on thewoocommerce_product_catalogandneve_single_product_layoutsections; it is called approx. line 406.inc/compatibility/woocommerce.php—add_customizer_options()approx. lines 145–149, which setshasElementorShopTemplateandhasElementorProductTemplateviaElementor::has_template().
Engineering notes
The elementor flags are set in the WooCommerce compat class. Worth checking whether that class loads when WooCommerce is inactive, and whether the flag is true in that state. A leftover template post is apparently enough to trigger the branch. The product-template block just below uses the same pattern for neve_single_product_layout.
Test coverage status
No relevant coverage was found during inspection.
What to verify or explore next
May be worth verifying the reproduction with WooCommerce off plus an Elementor product_archive template, and checking the browser console for a TypeError.
Unknowns / follow-up
The affected Neve version is unknown. Whether the flag is populated with WooCommerce off was not confirmed.
Confidence
Confidence: 80/100
Source shows the Customizer script dereferences a WooCommerce section without a null check, matching the customer's diagnosis. Not runtime-reproduced.
Source: HelpScout #3480859978
Generated by bug-report-triage (ID: bug-report-triage_6acd668c519742.22923583)
- Lenguaje dominante
- PHP
- Estrellas
- 307
- Forks
- 89
- Merge medio
- 3 d 8 h
- PR fusionados (30 d)
- 18
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Codeinwp/neve
-
bug-report bug-report-triage crash-report
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
bug-report bug-report-triage
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día
-
bug-report bug-report-triage crash-report
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
-
Duplicate H1: hidden screen-reader title H1 rendered alongside custom layout H1 when page title is hiddenPosiblemente ocupada @HardeepAsrani la tomó hace 21 días. Abiertobug-report bug-report-triage customer report
Dificultad 4/5 1-2 días Aptitud para principiantes 48/100
Codeinwp/neve#4652 · 4 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Enhance home screen and front page customization options in Neve FreePosiblemente ocupada @faisalahammad la tomó hace 13 días. Abiertofeature-request-triage
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
Todos los issues de Codeinwp/neve
Issues similares
-
mobile-app
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Open-Locker/Open-Locker#352 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: SCIM Users groups[].value is returned as an integer, causing authentik user discovery to failAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
grokability/snipe-it#20006 ·
Los mantenedores suelen responder en 1 día
-
fixed
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
firefly-iii/firefly-iii#13150 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
TYPO3-Solr/ext-solr#4828 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 3 días