Fail to add new Post type by Post form

I have created a Post Form and mapped all the Meta fields created by JetEngine Custom post type and meta fields. This form has 3 steps and at final when I am submitting the form. It is showing this error :

I have enabled error logs in my website and here are the error logs:

[20-Sep-2024 11:19:54 UTC] PHP Fatal error: Uncaught Error: Call to undefined method FluentFormPro\Components\Post\MetaboxHelper::getFields() in /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentformpro/src/Components/Post/MetaboxHelper.php:218
Stack trace: 0 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentformpro/src/Components/Post/PostFormHandler.php(285): FluentFormPro\Components\Post\MetaboxHelper::prepareFieldsData() 1 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentformpro/src/Components/Post/PostFormHandler.php(135): FluentFormPro\Components\Post\PostFormHandler->mapMetaFields() 2 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentformpro/src/Components/Post/PostFormHandler.php(102): FluentFormPro\Components\Post\PostFormHandler->createPostFromFeed() 3 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-includes/class-wp-hook.php(324): FluentFormPro\Components\Post\PostFormHandler->onFormSubmissionInserted() 4 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 5 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-includes/plugin.php(517): WP_Hook->do_action() 6 [internal function]: do_action() 7 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Foundation/FoundationTrait.php(88): call_user_func_array() 8 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentform/app/Services/Form/SubmissionHandlerService.php(217): FluentForm\Framework\Foundation\Application->doAction() 9 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentform/app/Services/Form/SubmissionHandlerService.php(51): FluentForm\App\Services\Form\SubmissionHandlerService->processSubmissionData() 10 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentform/app/Modules/SubmissionHandler/SubmissionHandler.php(25): FluentForm\App\Services\Form\SubmissionHandlerService->handleSubmission() 11 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentform/app/Hooks/Ajax.php(16): FluentForm\App\Modules\SubmissionHandler\SubmissionHandler->submit() 12 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-includes/class-wp-hook.php(324): FluentForm\Framework\Foundation\Application->{closure}() 13 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 14 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-includes/plugin.php(517): WP_Hook->do_action() 15 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-admin/admin-ajax.php(207): do_action() 16 {main}

thrown in /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentformpro/src/Components/Post/MetaboxHelper.php on line 218
[20-Sep-2024 11:34:44 UTC] PHP Fatal error: Uncaught Error: Call to undefined method FluentFormPro\Components\Post\MetaboxHelper::getFields() in /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentformpro/src/Components/Post/MetaboxHelper.php:218
Stack trace: 0 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentformpro/src/Components/Post/PostFormHandler.php(285): FluentFormPro\Components\Post\MetaboxHelper::prepareFieldsData() 1 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentformpro/src/Components/Post/PostFormHandler.php(135): FluentFormPro\Components\Post\PostFormHandler->mapMetaFields() 2 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentformpro/src/Components/Post/PostFormHandler.php(102): FluentFormPro\Components\Post\PostFormHandler->createPostFromFeed() 3 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-includes/class-wp-hook.php(324): FluentFormPro\Components\Post\PostFormHandler->onFormSubmissionInserted() 4 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 5 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-includes/plugin.php(517): WP_Hook->do_action() 6 [internal function]: do_action() 7 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Foundation/FoundationTrait.php(88): call_user_func_array() 8 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentform/app/Services/Form/SubmissionHandlerService.php(217): FluentForm\Framework\Foundation\Application->doAction() 9 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentform/app/Services/Form/SubmissionHandlerService.php(51): FluentForm\App\Services\Form\SubmissionHandlerService->processSubmissionData() 10 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentform/app/Modules/SubmissionHandler/SubmissionHandler.php(25): FluentForm\App\Services\Form\SubmissionHandlerService->handleSubmission() 11 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentform/app/Hooks/Ajax.php(16): FluentForm\App\Modules\SubmissionHandler\SubmissionHandler->submit() 12 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-includes/class-wp-hook.php(324): FluentForm\Framework\Foundation\Application->{closure}() 13 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 14 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-includes/plugin.php(517): WP_Hook->do_action() 15 /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-admin/admin-ajax.php(207): do_action() 16 {main}

thrown in /home/u368897183/domains/estate360.in/public_html/Estate360Marketplace/wp-content/plugins/fluentformpro/src/Components/Post/MetaboxHelper.php on line 218

Also I prompted this error log to chatgpt and it provide this information, there is some error at line 218 of MetaboxHelper.php

Error Summary:

  • Error Message: PHP Fatal error: Uncaught Error: Call to undefined method FluentFormPro\Components\Post\MetaboxHelper::getFields()This means that in the file MetaboxHelper.php, the code is trying to call a method (getFields()) that does not exist in the MetaboxHelper class.
  • Error Location: The error is happening on line 218 of the file: /wp-content/plugins/fluentformpro/src/Components/Post/MetaboxHelper.php

Key Points from the Stack Trace:

  1. The issue starts with the attempt to call the getFields() method on line 218 in the MetaboxHelper.php file.
  2. This error is propagated to the PostFormHandler.php file, which uses the MetaboxHelper class, causing issues with the form submission process.
  3. It affects the method onFormSubmissionInserted() in PostFormHandler.php, which means the error occurs when a form is submitted.

Possible Causes:

  1. Plugin Version Mismatch: You may be using an outdated version of the Fluent Forms Pro plugin, where the getFields() method has been removed or renamed.
  2. Corrupted Plugin Files: There could be an issue with the integrity of the plugin files, especially the MetaboxHelper.php file.
  3. Custom Code or Conflict: If you or a developer added custom code to the Fluent Forms plugin or there is a conflict with another plugin/theme, it might be causing this issue.

Please help me to resolve this issue. Its urgent

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer