Error loading DataTables data on new server

Error loading DataTables data on new server

paolocesaripaolocesari Posts: 1Questions: 1Answers: 0

Greetings to all,
I would like to know if DataTables 1.10.18 and jQuery 3.3.1 work correctly with PHP 8.2 version and MySQL/MariaDB 10.11.6

Loading the page with DataTables on my new server I get the error
DataTables warning: table id=customer - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1

More specifically, the error is caused by
Deprecated: Creation of dynamic property DataTables\Database\DriverMysqlQuery::$_dbHost is deprecated in /Web/PMS/php/lib/Database/Query.php on line 55

Debugger says Legacy DataTables - It looks like you are using a really old version of DataTables (1.10.18)

Thank you all for your advice.
Paolo

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,482Questions: 1Answers: 10,467 Site admin
    Answer ✓

    You need to update the Editor server-side libraries that you are using. The old ones used a dynamic property as the error says. That has since been resolved.

    Allan

Sign In or Register to comment.