Okay
  Public Ticket #3497497
Problem with editing record
Closed

Comments

  • Web started the conversation

    When I go to edit a record using this plugin it is throwing a fatal error: 

    [13-Oct-2023 02:34:54 UTC] PHP Fatal error:  Cannot declare class GFFormDisplay, because the name is already in use in /app/wp-content/plugins/gravityforms/form_display.php on line 7
    

    In your code: 

    WDTGravityIntegrationPlugin::editModalConstruct

    If you change the include statements in this method to include_once instead, the problem is solved. 

        /**
         * Loads the template for modal and fill it with data for
         * both New and Edit
         *
         * @param $form
         * @param $hasCaptchaField
         */
        public static function editModalConstruct(
            $form,
            $hasCaptchaField
        ) {
            ob_start();
            include_once GFCommon::get_base_path() . '/entry_detail.php';
            include_once GFCommon::get_base_path() . '/form_display.php';
            include_once WDT_GF_ROOT_PATH . 'templates/edit_modal.php';
            echo ob_get_clean();
            wp_die();
        }
    

    Please make this update to the plugin and issue a new release. Thank you!

  • Web replied

    wondering what kind of turnaround I can expect to see on something like this? We just bought this plugin from you and its pretty disappointing that one of the primary features you have advertised for it, doesn't work without manual code intervention.

  •  1,845
    Miloš replied

    Hello,

    To begin, I want to extend my heartfelt apologies for the delayed reply, 

    which is due to an unexpectedly high volume of inquiries. 

    We truly value your patience during this period.

    -

    I have passed this to our developers with urgency, and we will report back as soon as they advise if this fix can be added to our next Update.

    Thank you for reporting this and for your patience.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  1,845
    Miloš replied

    Hello,

    we can confirm our developers are working right now to add this fix to the Gravity Integration Add-on, and they will launch a small Update including that fix as soon as possible.

    Our QA Team just needs to conduct some tests to ensure there are no negative effects to any other Plugin/add-on functionalities before the update is released.

    Generally speaking, when it comes to any changes to the main wpDataTables Plugin as well as add-ons,

    you can always follow our changeLog page if you'd like ( it is also available in the plugin dashboard), where we state any changes/new features/bug fixes during updates;

    ( Just switch between the Tabs on top to see the individual patch notes for each add-on)

    7401757672.png


    and you can subscribe to our newsletter, if you wish to be informed about new features, bug fixes, freebies, etc.


    Thank you very much for sharing this code edit with the include_once , that allowed our developers to simply apply your fix right away so our QA Team can go straight into testing it.


    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables