Fixing the 'Cannot add a control outside of a section' Error in MetForm and Elementor
Content
If you're using MetForm – Contact Form, Survey, Quiz, & Custom Form Builder for Elementor and suddenly encounter the error message ElementorElement_Section::handle_control_position: Cannot add a control outside of a section (use start_controls_section), you're not alone. This is a known compatibility issue that can appear after certain Elementor updates. This article explains why this happens and provides the most effective solutions to resolve it.
What Causes This Error?
This error typically occurs due to a compatibility conflict between MetForm (or MetForm Pro) and a specific version of Elementor. Based on community reports, this issue has historically appeared after updates to Elementor, particularly around version 3.18.0. The error indicates that there's a problem with how the plugins are interacting with Elementor's control structure when building forms.
How to Fix the 'Cannot add a control outside of a section' Error
Solution 1: Update All Plugins
The most common fix for this issue is ensuring all your plugins are updated to their latest versions. The MetForm development team has addressed this compatibility issue in previous updates.
- Go to your WordPress Dashboard > Plugins
- Check if updates are available for MetForm, MetForm Pro (if using), Elementor, and Elementor Pro
- Update all plugins to their latest versions
- Clear any caching plugins or server caches
- Test if the error persists
Solution 2: Check for Specific Character Conflicts
In some cases, this error might be triggered by specific characters in your form fields. One user reported that quotation marks (") in checkbox option titles caused similar issues.
- Edit your MetForm form
- Check all field labels and options for special characters like quotation marks
- Remove or replace any problematic characters
- Save your form and test again
Solution 3: Server Configuration Check
While less common for this specific error, some Elementor and MetForm issues can be related to server resource limitations. Ensure your server meets these minimum requirements:
- PHP memory_limit: 512M or higher
- PHP max_execution_time: 300 seconds
- You may need to contact your hosting provider to adjust these settings
Solution 4: Conflict Testing
If updating doesn't resolve the issue, try these conflict isolation steps:
- Temporarily switch to a default WordPress theme (Twenty Twenty-Four or Hello Elementor)
- Deactivate other plugins one by one (especially other Elementor addons)
- Check if the error disappears after each deactivation
- If you identify a conflicting plugin, check with its developers for compatibility updates
When to Seek Additional Help
If none of these solutions work, the issue might be specific to your setup. You might want to:
- Check the official MetForm changelog for specific version compatibility notes
- Look for similar reports in WordPress support forums
- Ensure you're using compatible versions of all Elementor-related plugins
Remember that plugin compatibility is an ongoing process, and keeping all your plugins updated is the best prevention against these types of errors.
Related Support Threads Support
-
How to create an acutally-custom custom field in Elementor’s MetFormhttps://wordpress.org/support/topic/how-to-create-an-acutally-custom-custom-field-in-elementors-metform/
-
One question, doesn’t it work on gutenberg?https://wordpress.org/support/topic/one-question-doesnt-it-work-on-gutenberg/
-
doesn’t work with Elementor with Astra themehttps://wordpress.org/support/topic/doesnt-work-with-elementor-with-astra-theme/
-
Submit button trigger + check fields alignmenthttps://wordpress.org/support/topic/submit-button-trigger-check-fields-alignment/
-
Newest Elementor breaks my forms in MetForm editorhttps://wordpress.org/support/topic/newest-elementor-breaks-my-forms-in-metform-editor/
-
Scroll issue with elementor popuphttps://wordpress.org/support/topic/scroll-issue-with-elementor-popup/
-
Use TAB key to navigate through formhttps://wordpress.org/support/topic/use-tab-key-to-navigate-through-form/
-
Unable to Render MetForm via do_shortcode on WordPress Dashboard using React JShttps://wordpress.org/support/topic/unable-to-render-metform-via-do_shortcode-on-wordpress-dashboard-using-react-js/
-
Hidden Dropdownhttps://wordpress.org/support/topic/hidden-dropdown/
-
500 Error with Elementor Page Builder When Metform Plugin is Activatedhttps://wordpress.org/support/topic/500-error-with-elementor-page-builder-when-metform-plugin-is-activated/
-
Met form not showinghttps://wordpress.org/support/topic/met-form-not-showing/
-
Issue with Carousels in Formhttps://wordpress.org/support/topic/issue-with-carousels-in-form/
-
Dynamic Content / Custom Fieldshttps://wordpress.org/support/topic/dynamic-content-custom-fields/
-
Radio button glitchhttps://wordpress.org/support/topic/radio-button-glitch-2/
-
Doesnt work with ElementPack pro (with Astra theme)https://wordpress.org/support/topic/doesnt-work-with-elementpack-pro-with-astra-theme/
-
Incompatible with Elementor Prohttps://wordpress.org/support/topic/incompatible-with-elementor-pro-3/
-
Is Metform Pro included in ElementsKit widgets?https://wordpress.org/support/topic/is-metform-pro-included-in-elementskit-widgets/
-
cannot edit with elementor with metform activehttps://wordpress.org/support/topic/cannot-edit-with-elementor-with-metform-active/
-
Elementor loading at infinitehttps://wordpress.org/support/topic/elementor-loading-at-infinite/
-
”Uncaught TypeError: a.toFixed is not a function…..”https://wordpress.org/support/topic/uncaught-typeerror-a-tofixed-is-not-a-function/
-
Metform not loading on frontend (fine in Elementor backend)https://wordpress.org/support/topic/metform-not-loading-on-frontend-fine-in-elementor-backend/
-
form in pop-uphttps://wordpress.org/support/topic/form-in-pop-up-3/
-
MetForm & Elementorhttps://wordpress.org/support/topic/metform-elementor/
-
Can u build multi-page contact forms using free Metform & Elementor?https://wordpress.org/support/topic/can-u-build-multi-page-contact-forms-using-free-metform-elementor/
-
Multi-Step not workinghttps://wordpress.org/support/topic/multi-step-not-working-2/
-
Can’t insert forms into an Elementor pagehttps://wordpress.org/support/topic/cant-insert-forms-into-an-elementor-page/
-
Submit form and create post automatically with status drafthttps://wordpress.org/support/topic/submit-form-and-create-post-automatically-with-status-draft/
-
site loading speedhttps://wordpress.org/support/topic/site-loading-speed-2/
-
Metform issue Edit With Elementohttps://wordpress.org/support/topic/metform-issue-edit-with-elemento/
-
Metform with elementorhttps://wordpress.org/support/topic/metform-with-elementor/
-
turnstile supporthttps://wordpress.org/support/topic/turnstile-support-2/
-
Metform not showing with WP rockethttps://wordpress.org/support/topic/metform-not-showing-with-wp-rocket/
-
Bootstrap JavaScript Conflicthttps://wordpress.org/support/topic/bootstrap-javascript-conflict/
-
Upgrade notice is being injected into other admin screenshttps://wordpress.org/support/topic/upgrade-notice-is-being-injected-into-other-admin-screens/
-
Metform causes Elementor to go into a loophttps://wordpress.org/support/topic/metform-causes-elementor-to-go-into-a-loop/
-
Metform Pro Version 2.1.3 Conflicts Elementorhttps://wordpress.org/support/topic/metform-pro-version-2-1-3-conflicts-elementor/
-
Field validation not working in popuphttps://wordpress.org/support/topic/field-validation-not-working-in-popup/
-
Advanced Conversion Trackinghttps://wordpress.org/support/topic/advanced-conversion-tracking/
-
Bad core web vitals with this pluginhttps://wordpress.org/support/topic/bad-core-web-vitals-with-this-plugin/
-
Form shows unwanted escape for diacritic charactershttps://wordpress.org/support/topic/form-shows-unwanted-escape-for-diacritical-characters/
-
Elementor/WordPress usage of Metform invisiblehttps://wordpress.org/support/topic/elementor-wordpress-usage-of-metform-invisible/