-
AuthorPosts
-
March 6, 2023 at 10:44 am #1400229
The contact form can be send, but no response message is showing up. When checking, also no message is send in the back.
That issue only occures with PHP 8.1.PHP 7.4 and PHP 8.0 are working as normal, but PHP 8.1 doesnt show an “response text on the webpage and doesnt send mails in the backend.
I did test the same issue on 3 sites wich have other hosting providers.Please fix.
March 6, 2023 at 7:13 pm #1400282Hey BlutVampir,
Could you share server error logs with us please? They should be generated when running the problem version, and while testing the form.
Best regards,
RikardMarch 7, 2023 at 9:02 am #1400326[07-Mar-2023 08:01:53 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold/framework/php/class-form-generator.php:1292 Stack trace: #0 /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold/framework/php/class-form-generator.php(448): avia_form->send(Object(avia_form)) #1 /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold-child/shortcodes/contact.php(972): avia_form->display_form(true) #2 /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1306): avia_sc_contact->shortcode_handler(Array, Array, 'av_contact', Array) #3 /www/htdocs/w01d4781/deniseclauss.de/wp-includes/shortcodes.php(355): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '\n[av_contact_fi...', 'av_contact') #4 [internal function]: do_shortcode_tag(Array) #5 /www/htdocs/w01d4781/deniseclauss.de/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(av_con...', 'do_shortcode_ta...', '\n[av_hr class='...') #6 /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(559): do_shortcode('\n[av_hr class='...') #7 /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold-child/shortcodes/columns.php(1296): ShortcodeHelper::avia_remove_autop('\n[av_hr class='...', true) #8 /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1306): avia_sc_columns->shortcode_handler(Array, '\n[av_hr class='...', 'av_three_fifth', Array) #9 /www/htdocs/w01d4781/deniseclauss.de/wp-includes/shortcodes.php(355): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '\n[av_hr class='...', 'av_three_fifth') #10 [internal function]: do_shortcode_tag(Array) #11 /www/htdocs/w01d4781/deniseclauss.de/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(av_one...', 'do_shortcode_ta...', '\n[av_one_fifth ...') #12 /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(559): do_shortcode('\n[av_one_fifth ...') #13 /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/grid_row/cell.php(778): ShortcodeHelper::avia_remove_autop('\n[av_one_fifth ...', true) #14 /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1306): avia_sc_cell->shortcode_handler(Array, '\n[av_one_fifth ...', 'av_cell_one_hal...', Array) #15 /www/htdocs/w01d4781/deniseclauss.de/wp-includes/shortcodes.php(355): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '\n[av_one_fifth ...', 'av_cell_one_hal...') #16 [internal function]: do_shortcode_tag(Array) #17 /www/htdocs/w01d4781/deniseclauss.de/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(av_one...', 'do_shortcode_ta...', '<br />\n[av_cell...') #18 /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(559): do_shortcode('<br />\n[av_cell...') #19 /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/grid_row/grid_row.php(623): ShortcodeHelper::avia_remove_autop('<br />\n[av_cell...', true) #20 /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1306): avia_sc_grid_row->shortcode_handler(Array, '<br />\n[av_cell...', 'av_layout_row', Array) #21 /www/htdocs/w01d4781/deniseclauss.de/wp-includes/shortcodes.php(355): aviaShortcodeTemplate->shortcode_handler_prepare(Array, '<br />\n[av_cell...', 'av_layout_row') #22 [internal function]: do_shortcode_tag(Array) #23 /www/htdocs/w01d4781/deniseclauss.de/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(av_one...', 'do_shortcode_ta...', '[av_layout_row ...') #24 /www/htdocs/w01d4781/deniseclauss.de/wp-includes/class-wp-hook.php(308): do_shortcode('[av_layout_row ...') #25 /www/htdocs/w01d4781/deniseclauss.de/wp-includes/plugin.php(205): WP_Hook->apply_filters('[av_layout_row ...', Array) #26 /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold/template-builder.php(102): apply_filters('the_content', '[av_layout_row ...') #27 /www/htdocs/w01d4781/deniseclauss.de/wp-includes/template-loader.php(106): include('/www/htdocs/w01...') #28 /www/htdocs/w01d4781/deniseclauss.de/wp-blog-header.php(19): require_once('/www/htdocs/w01...') #29 /www/htdocs/w01d4781/deniseclauss.de/index.php(17): require('/www/htdocs/w01...') #30 {main} thrown in /www/htdocs/w01d4781/deniseclauss.de/wp-content/themes/enfold/framework/php/class-form-generator.php on line 1292
- This reply was modified 1 year, 8 months ago by BlutVampir.
March 8, 2023 at 5:45 am #1400428Hi,
Thank you for the update.
Please try to edit the enfold/framework/php/class-form-generator.php and look for this code around line 1292.
// add other elements with static content if( is_array($element) && 'empty_line' == $element['type'] )
Replace the code with:
// add other elements with static content if( 'empty_line' == $element['type'] )
Let us know if the changes fix the issue.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.