• Hi,

    Your plugin is very useful. Thank you.

    After updating from v3.14, there is a fatal error.

    [10-Apr-2023 19:34:22 UTC] PHP Warning: Array to string conversion in /home/user123/domaine.com/wp-content/plugins/acf-frontend-form-element/main/frontend/forms/classes/form-display.php on line 747
    [10-Apr-2023 19:34:22 UTC] PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /home/user123/domaine.com/wp-content/plugins/acf-frontend-form-element/main/frontend/fields/user/class-first-name.php:57
    Stack trace:
    #0 /home/user123/domaine.com/wp-content/plugins/acf-frontend-form-element/main/frontend/fields/user/class-first-name.php(57): explode()
    #1 /home/user123/domaine.com/wp-includes/class-wp-hook.php(308): Frontend_Admin\Field_Types\first_name->load_value()
    #2 /home/user123/domaine.com/wp-includes/plugin.php(256): WP_Hook->apply_filters()
    #3 /home/user123/domaine.com/wp-content/plugins/advanced-custom-fields/includes/acf-hook-functions.php(109): apply_filters_ref_array()
    #4 /home/user123/domaine.com/wp-includes/class-wp-hook.php(308): _acf_apply_hook_variations()
    #5 /home/user123/domaine.com/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #6 /home/user123/domaine.com/wp-content/plugins/acf-frontend-form-element/main/frontend/forms/classes/form-display.php(821): apply_filters()
    #7 /home/user123/domaine.com/wp-content/plugins/acf-frontend-form-element/main/frontend/forms/classes/form-display.php(536): Frontend_Admin\Classes\Display_Form->get_field_value()
    #8 /home/user123/domaine.com/wp-content/plugins/acf-frontend-form-element/main/frontend/forms/classes/form-display.php(668): Frontend_Admin\Classes\Display_Form->get_field_data_type()
    #9 /home/user123/domaine.com/wp-content/plugins/acf-frontend-form-element/main/frontend/forms/classes/form-display.php(1178): Frontend_Admin\Classes\Display_Form->render_fields()
    #10 /home/user123/domaine.com/wp-content/plugins/acf-frontend-form-element/main/elementor/widgets/general/frontend-form.php(736): Frontend_Admin\Classes\Display_Form->render_form()
    #11 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/controls-stack.php(2268): Frontend_Admin\Elementor\Widgets\Frontend_Form->render()
    #12 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode()
    #13 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content()
    #14 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Widget_Base->print_content()
    #15 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/element-base.php(1354): Elementor\Element_Base->print_element()
    #16 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Element_Base->print_content()
    #17 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/element-base.php(1354): Elementor\Element_Base->print_element()
    #18 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Element_Base->print_content()
    #19 /home/user123/domaine.com/wp-content/plugins/elementor/core/base/document.php(1680): Elementor\Element_Base->print_element()
    #20 /home/user123/domaine.com/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(418): Elementor\Core\Base\Document->print_elements()
    #21 /home/user123/domaine.com/wp-content/plugins/elementor/includes/frontend.php(1179): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_elements_with_wrapper()
    #22 /home/user123/domaine.com/wp-content/plugins/elementor/includes/frontend.php(1247): Elementor\Frontend->get_builder_content()
    #23 /home/user123/domaine.com/wp-content/plugins/elementor-pro/modules/library/classes/shortcode.php(46): Elementor\Frontend->get_builder_content_for_display()
    #24 /home/user123/domaine.com/wp-includes/shortcodes.php(355): ElementorPro\Modules\Library\Classes\Shortcode->shortcode()
    #25 [internal function]: do_shortcode_tag()
    #26 /home/user123/domaine.com/wp-includes/shortcodes.php(227): preg_replace_callback()
    #27 /home/user123/domaine.com/wp-content/plugins/aleph/woocommerce/class-aleph-woocommerce.php(108): do_shortcode()
    #28 /home/user123/domaine.com/wp-includes/class-wp-hook.php(308): Aleph_WooCommerce->aleph_wc_students_endpoint_content()
    #29 /home/user123/domaine.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #30 /home/user123/domaine.com/wp-includes/plugin.php(517): WP_Hook->do_action()
    #31 /home/user123/domaine.com/wp-content/plugins/woocommerce/includes/wc-template-functions.php(3187): do_action()
    #32 /home/user123/domaine.com/wp-includes/class-wp-hook.php(308): woocommerce_account_content()
    #33 /home/user123/domaine.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #34 /home/user123/domaine.com/wp-includes/plugin.php(517): WP_Hook->do_action()
    #35 /home/user123/domaine.com/wp-content/plugins/woocommerce/templates/myaccount/my-account.php(34): do_action()
    #36 /home/user123/domaine.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/copi3683/...')
    #37 /home/user123/domaine.com/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-my-account.php(123): wc_get_template()
    #38 /home/user123/domaine.com/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-my-account.php(72): WC_Shortcode_My_Account::my_account()
    #39 /home/user123/domaine.com/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_My_Account::output()
    #40 /home/user123/domaine.com/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(115): WC_Shortcodes::shortcode_wrapper()
    #41 /home/user123/domaine.com/wp-includes/shortcodes.php(355): WC_Shortcodes::my_account()
    #42 [internal function]: do_shortcode_tag()
    #43 /home/user123/domaine.com/wp-includes/shortcodes.php(227): preg_replace_callback()
    #44 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/widget-base.php(426): do_shortcode()
    #45 /home/user123/domaine.com/wp-content/plugins/elementor/includes/widgets/text-editor.php(417): Elementor\Widget_Base->parse_text_editor()
    #46 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/controls-stack.php(2268): Elementor\Widget_Text_Editor->render()
    #47 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/widget-base.php(609): Elementor\Controls_Stack->render_by_mode()
    #48 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content()
    #49 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Widget_Base->print_content()
    #50 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/element-base.php(1354): Elementor\Element_Base->print_element()
    #51 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Element_Base->print_content()
    #52 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/element-base.php(1354): Elementor\Element_Base->print_element()
    #53 /home/user123/domaine.com/wp-content/plugins/elementor/includes/base/element-base.php(449): Elementor\Element_Base->print_content()
    #54 /home/user123/domaine.com/wp-content/plugins/elementor/core/base/document.php(1680): Elementor\Element_Base->print_element()
    #55 /home/user123/domaine.com/wp-content/plugins/elementor/core/base/document.php(1106): Elementor\Core\Base\Document->print_elements()
    #56 /home/user123/domaine.com/wp-content/plugins/elementor/includes/frontend.php(1179): Elementor\Core\Base\Document->print_elements_with_wrapper()
    #57 /home/user123/domaine.com/wp-content/plugins/elementor/includes/frontend.php(1074): Elementor\Frontend->get_builder_content()
    #58 /home/user123/domaine.com/wp-includes/class-wp-hook.php(308): Elementor\Frontend->apply_builder_in_content()
    #59 /home/user123/domaine.com/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #60 /home/user123/domaine.com/wp-includes/post-template.php(255): apply_filters()
    #61 /home/user123/domaine.com/wp-content/plugins/elementor/modules/page-templates/module.php(190): the_content()
    #62 [internal function]: Elementor\Modules\PageTemplates\Module->print_callback()
    #63 /home/user123/domaine.com/wp-content/plugins/elementor/modules/page-templates/module.php(207): call_user_func()
    #64 /home/user123/domaine.com/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(19): Elementor\Modules\PageTemplates\Module->print_content()
    #65 /home/user123/domaine.com/wp-includes/template-loader.php(106): include('/home/copi3683/...')
    #66 /home/user123/domaine.com/wp-blog-header.php(19): require_once('/home/copi3683/...')
    #67 /home/user123/domaine.com/index.php(17): require('/home/copi3683/...')
    #68 {main}
      thrown in /home/user123/domaine.com/wp-content/plugins/acf-frontend-form-element/main/frontend/fields/user/class-first-name.php on line 57

    Do you think it’s possible to fix it?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error after updating v3.14’ is closed to new replies.