Hey there, Awesome Customers!

Just a heads up: We'll be taking a breather to celebrate International Workers' Day (May 1st and 2nd - Wednesday and Thursday) and Orthodox Easter from Good Friday (May 3rd) through Easter Monday (May 6th). So, from May 1st to May 6th, our team will be off enjoying some well-deserved downtime.

During this time, our customer support will be running on a smaller crew, but don't worry! We'll still be around to help with any urgent matters, though it might take us a bit longer than usual to get back to you.

We'll be back in action at full throttle on May 7th (Tuesday), ready to tackle your questions and requests with gusto!

In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find loads of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel). These gems might just have the answers you're looking for while we're kicking back.

Thanks a bunch for your understanding and support!

Catch you on the flip side!

Warm regards,

TMS

Okay
  Public Ticket #2704643
PHP Fatal error: Uncaught Error: Call to a member function format()...
Closed

Comments

  •  1
    Scott Bowie started the conversation

    Attempting to edit an existing entry in MySQL bases wpDataTable - get an error msg in top right corner then it locks up with endless loop animation (screen cap attached).


    From error log:

    [27-Feb-2021 14:46:10 UTC] PHP Fatal error:  Uncaught Error: Call to a member function format() on bool in /opt/bitnami/apache2/htdocs/wp/wp-content/plugins/wpdatatables/controllers/wdt_ajax_actions.php:331
    Stack trace:
    #0 /opt/bitnami/apache2/htdocs/wp/wp-includes/class-wp-hook.php(287): wdtSaveTableFrontend('')
    #1 /opt/bitnami/apache2/htdocs/wp/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #2 /opt/bitnami/apache2/htdocs/wp/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 /opt/bitnami/apache2/htdocs/wp/wp-admin/admin-ajax.php(199): do_action('wp_ajax_nopriv_...')
    #4 {main}
      thrown in /opt/bitnami/apache2/htdocs/wp/wp-content/plugins/wpdatatables/controllers/wdt_ajax_actions.php on line 331


  •  2,498
    Aleksandar replied

    Hello Scott

    Thank you for your purchase, and sorry for the inconvenience.

    If I'm not mistaken, this is happening on front-end? With that in mind, it could be the query that's causing the issue - can you show it to me, please?

    Only one MySQL table can be edited at a time. Queries from multiple tables with joins cannot be used as an editable feature, since SQL UPDATE and INSERT statements are generated automatically, and there currently is no way to update multiple tables

    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

  •  1
    Scott Bowie replied

    Hey Aleksandar, sorry for delay - brutal couple days!  Yes it's on the front end and my query was a simple "SELECT * from wp_registration".  I've just returned to troubleshooting and found that it's due to attempting to save an incorrect date format. If you type (for example) "-4-06-27" into a date field, you may be able to recreate the same.  So now that I know about it, it's not an emergency problem however it should likely be addressed. Cheers, Scott

  •  2,498
    Aleksandar replied

    Thanks for letting me know, Scott!

    It's definitely that, and it will be forwarded to our development team for review. I don't know if they'll be able to fix it (skipping the first dash), but if there's a way, they'll surely try.

    Thanks for the feedback!

    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