• Resolved renan_santos

    (@renan_santos)


    When using the option “Add and Edit Posts – Allow posts to be created and edited whilst editing” inside a relation field or an object post field, the Add post button in the frontend opens a model but never loads the content. In the console there is an error 500 from the ajax request.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter renan_santos

    (@renan_santos)

    The error log:

    [10-Aug-2023 16:56:32 UTC] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in xxxxx\wp-content\plugins\acf-frontend-form-element\main\frontend\forms\classes\form-display.php:643
    Stack trace:
    #0 xxxxx\wp-content\plugins\acf-frontend-form-element\main\frontend\forms\classes\form-display.php(1183): Frontend_Admin\Classes\Display_Form->render_fields(Array, Array, true)
    #1 xxxxx\wp-content\plugins\acf-frontend-form-element\main\frontend\forms\classes\form-display.php(1652): Frontend_Admin\Classes\Display_Form->render_form(Array)
    #2 xxxxx\wp-includes\class-wp-hook.php(310): Frontend_Admin\Classes\Display_Form->ajax_add_form('')
    #3 xxxxx\wp-includes\class-wp-hook.php(334): WP_Hook->apply_filters('', Array)
    #4 xxxxx\wp-includes\plugin.php(517): WP_Hook->do_action(Array)
    #5 xxxxx\wp-admin\admin-ajax.php(188): do_action('wp_ajax_fronten...')
    #6 {main}
      thrown in xxxxx\wp-content\plugins\acf-frontend-form-element\main\frontend\forms\classes\form-display.php on line 643
    
    • This reply was modified 1 year, 6 months ago by renan_santos.
    Plugin Author Shabti Kaplan

    (@shabti)

    @renan_santos

    Thank you for reporting this. We fixed this issue

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when adding new post from Relation or Post Objet’ is closed to new replies.