Status Error (500) Elementor + Forminator
-
Publishing a page with Elementor and Forminator is giving Status 500 Error. Page is using Elementor with an accordion display and shortcode to Forminator. Each accordion dropdown has a different form.
After looking for solutions I’ve taken the following steps:
- Change memory limit in PHP file from 128M to 512M
- Enabled “Load form from AJAX” and was able to publish but did live site not display the forms
- Turned off “Load from AJAX” and forms showed back up.
The page I need help with: [log in to see the link]
-
Hi @lvbs1985
I hope you are doing well today.
I was not able to replicate this issue on my lab site with Elementor. Using the Accordion module, I was able to place all forms and the same without any issue.
Only issue I have noticed that forms did not display, which is why I enabled “Load form using AJAX” feature.
Right now, by checking your site I can see that all works fine. Can you let us know what it the current issue you’re having?
Kind Regards,
KrisEnabling “Load form using AJAX” does not display the forms correctly. I had to disable the option in order for the forms to show but then can no longer publish updates to the page
When enabled, the site reports fatal errors.
Error Details
=============
An error of type E_ERROR was caused in line 2784 of the file /home/dh_ab8vg6/lvbs.org/wp-content/plugins/forminator/library/helpers/helper-fields.php. Error message: Uncaught Error: Call to a member function get_fields() on bool in /home/dh_ab8vg6/lvbs.org/wp-content/plugins/forminator/library/helpers/helper-fields.php:2784
Stack trace:
#0 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/forminator/library/modules/custom-forms/front/front-render.php(474): forminator_count_field_type_in_page(‘paypal’)
#1 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/forminator/library/modules/custom-forms/front/front-render.php(230): Forminator_CForm_Front->enqueue_form_scripts(false, true)
#2 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/forminator/library/render/class-render-form.php(199): Forminator_CForm_Front->display(‘4982’, false, Array)
#3 /home/dh_ab8vg6/lvbs.org/wp-includes/shortcodes.php(434): Forminator_Render_Form->render_shortcode(Array, ”, ‘forminator_form’)
#4 [internal function]: do_shortcode_tag(Array)
#5 /home/dh_ab8vg6/lvbs.org/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)(formin…’, ‘do_shortcode_ta…’, ‘[forminator_for…’)
#6 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/includes/widgets/shortcode.php(141): do_shortcode(‘[forminator_for…’)
#7 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/includes/base/controls-stack.php(2374): Elementor\Widget_Shortcode->render()
#8 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode()
#9 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/includes/base/widget-base.php(757): Elementor\Widget_Base->render_content()
#10 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/includes/base/element-base.php(627): Elementor\Widget_Base->get_raw_data(true)
#11 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/modules/nested-elements/base/widget-nested-base.php(104): Elementor\Element_Base->get_raw_data(true)
#12 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/includes/base/element-base.php(627): Elementor\Modules\NestedElements\Base\Widget_Nested_Base->get_raw_data(true)
#13 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/core/base/document.php(1092): Elementor\Element_Base->get_raw_data(true)
#14 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/core/base/document.php(745): Elementor\Core\Base\Document->get_elements_raw_data(Array, true)
#15 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/includes/base/controls-stack.php(1071): Elementor\Core\Base\Document->get_initial_config()
#16 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/core/editor/loader/common/editor-common-scripts-settings.php(38): Elementor\Controls_Stack->get_config()
#17 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/core/editor/loader/v2/editor-v2-loader.php(166): Elementor\Core\Editor\Loader\Common\Editor_Common_Scripts_Settings::get()
#18 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/core/editor/editor.php(364): Elementor\Core\Editor\Loader\V2\Editor_V2_Loader->enqueue_scripts()
#19 /home/dh_ab8vg6/lvbs.org/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->enqueue_scripts(”)
#20 /home/dh_ab8vg6/lvbs.org/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#21 /home/dh_ab8vg6/lvbs.org/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#22 /home/dh_ab8vg6/lvbs.org/wp-includes/script-loader.php(2299): do_action(‘wp_enqueue_scri…’)
#23 /home/dh_ab8vg6/lvbs.org/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts(”)
#24 /home/dh_ab8vg6/lvbs.org/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#25 /home/dh_ab8vg6/lvbs.org/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#26 /home/dh_ab8vg6/lvbs.org/wp-includes/general-template.php(3192): do_action(‘wp_head’)
#27 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php(31): wp_head()
#28 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/core/editor/loader/v2/editor-v2-loader.php(216): include(‘/home/dh_ab8vg6…’)
#29 /home/dh_ab8vg6/lvbs.org/wp-content/plugins/elementor/core/editor/editor.php(169): Elementor\Core\Editor\Loader\V2\Editor_V2_Loader->print_root_template()
#30 /home/dh_ab8vg6/lvbs.org/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->init(”)
#31 /home/dh_ab8vg6/lvbs.org/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
#32 /home/dh_ab8vg6/lvbs.org/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#33 /home/dh_ab8vg6/lvbs.org/wp-admin/admin.php(420): do_action(‘admin_action_el…’)
#34 /home/dh_ab8vg6/lvbs.org/wp-admin/post.php(12): require_once(‘/home/dh_ab8vg6…’)
#35 {main}
thrownHello @lvbs1985
Thank you for sharing the error and stacktrace, since we could not replicate the issue on our lab site, would it be possible for you to confirm on the below points and share the form export so we can import it on our lab site and check if the issue can be replicated?
– I noticed a couple of accordions blank on the page, can you please confirm if there is any Forminator form shorcode added for the form which you might have already deleted?
– Can you please confirm if you are unable to publish updates only on the specific page where the forms are placed?
Lastly, could you please share the form exports with us so that we can troubleshoot the issue further?
To share the form export
– Navigate to the “Forminator -> Forms” page in your site’s back-end
– click on a little “gear” icon next to the form in question
– select “Export” option
– copy given export code and paste it at https://pastebin.com
– include link to that paste in your response below.Note: this export will not include any data that is already submitted – they’ll stay safely on your site and we don’t need them anyway.
Kind Regards,
SaurabhHello @lvbs1985,
I hope things are going well for you.
We haven’t heard from you in a while. I’ll go and mark this thread as resolved. If you have any additional questions or require further help, please let us know!
–
Kind Regards,
Imran Khan`
The topic ‘Status Error (500) Elementor + Forminator’ is closed to new replies.