Title: BUG &#8211; Null Dates
Last modified: March 6, 2020

---

# BUG – Null Dates

 *  Resolved [gypsybytes](https://wordpress.org/support/users/gypsy-bytes/)
 * (@gypsy-bytes)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/bug-null-dates/)
 * Hi Peter,
 * Still loving this plugin .. thanks again.
 * I have noticed an issue with NULL dates. I have two dates on one of my tables
   that are not required fields and hence can be NULL. When I view the table data
   via PHPMyAdmin, I can see that the fields are in fact NULL. However when I view
   the table data via Explorer in WPDA the dates default to today’s date. The information
   is not stored on the database, but it is displayed as today’s date.
 * If I try to edit a row via WPDA with a NULL date, then the edit screen does not
   show today’s date, it shows the date as NULL.
 * If I edit the row and either leave those dates NULL or insert a date into one
   or both of those date fields, then I am able to save the changes. The new edited
   date is shown correctly in Explorer, however if one is still NULL, it still reflects
   as today’s date.
 * If I edit the row once the date fields are NOT NULL i.e. they now have dates,
   and I now try to NULL those dates, WPDA won’t allow it and it displays the WP
   critical error message: “There has been a critical error on your website. Please
   check your site admin email inbox for instructions.”
 * It’s not a true critical error as everything still works exactly as before, that
   row has just not been updated. I also don’t receive a message about it in my 
   site admin inbox as the message says, but that is neither here nor there.
 * I hope that explains it. If you need more details, let me know. I can work around
   this issue, but just pointing it out as a possible fix for a future release.
 * Kind regards
    Melody

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/bug-null-dates/#post-12516631)
 * Hi Melody,
 * Thank you very much for your detailed bug report! The more details you add, the
   easier it is to find the bug and fix it. 🙂 I added this bug to my to do list.
   I’ll try to add a fix to the next release and let you know when it is done.
 * Thanks!
    Peter
 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/bug-null-dates/#post-12526928)
 * Hi Melody,
 * Version 3.0.2 is released and contains an fix for the null date bug. Thank you
   for your detailed description! That was really helpful. 🙂
 * Best regards,
    Peter

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘BUG – Null Dates’ is closed to new replies.

 * ![](https://ps.w.org/wp-data-access/assets/icon-256x256.png?rev=3299063)
 * [WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards](https://wordpress.org/plugins/wp-data-access/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-data-access/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-data-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-data-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-data-access/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/bug-null-dates/#post-12526928)
 * Status: resolved