Okay
  Public Ticket #2847496
Data Entry error
Closed

Comments

  • Tom McElvogue started the conversation

    Hi,

       when trying to add a record or update a record in a table, I get the following error when a date column is included.

    [10-Aug-2021 16:33:51 UTC] PHP Fatal error:  Uncaught Error: Call to a member function format() on bool in C:inetpubwordpresswp-contentpluginswpdatatablescontrollerswdt_ajax_actions.php:316 Stack trace: #0 C:inetpubwordpresswp-includesclass-wp-hook.php(303): wdtSaveTableFrontend('') #1 C:inetpubwordpresswp-includesclass-wp-hook.php(327): WP_Hook->apply_filters('', Array) #2 C:inetpubwordpresswp-includesplugin.php(470): WP_Hook->do_action(Array) #3 C:inetpubwordpresswp-adminadmin-ajax.php(187): do_action('wp_ajax_wdt_sav...') #4 {main}   thrown in C:inetpubwordpresswp-contentpluginswpdatatablescontrollerswdt_ajax_actions.php on line 316


    I have tested this on both apache and IIS and it only seems to happen on IIS. Also, I have tested this with the date and datetime input control and the on-line text input control. The issue only occurs when I use IIS and the date/datetime input controls. I had logged this as private several days ago but as I've had no response I am logging this as public in case anyone else has encountered this and may have a fix or further information to assist.

  •  2,572
    Aleksandar replied


    Hi again Tom.

    Once again, I'd like to apologize in front of the entire team for the slow response. I replied to the other ticket, so please take a look at it, and since we may need remote access to your website, I hope you don't mind if we close this ticket and continue on that one.

    Kind Regards, 

    Aleksandar Vuković
    [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