Editor/DataTables not working with Oracle 11g after upgrade to PHP version 1.7.4
Editor/DataTables not working with Oracle 11g after upgrade to PHP version 1.7.4
zajc
Posts: 67Questions: 10Answers: 2
After the upgrade to PHP version 1.7.4, queries from Oracle 11g stops working. I'm getting the following errors (2 times):
Warning: Declaration of DataTables\Database\DriverOracleResult::fetch() should be compatible with DataTables\Database\Result::fetch($fetchType = PDO::FETCH_ASSOC) in /var/www/html/php/lib/Database/Driver/Oracle/Result.php on line 22
Warning: Declaration of DataTables\Database\DriverOracleResult::fetchAll() should be compatible with DataTables\Database\Result::fetchAll($fetchType = PDO::FETCH_ASSOC) in /var/www/html/php/lib/Database/Driver/Oracle/Result.php on line 22
I have tried to copy Oracle driver .php files from version 1.7.3, but the same error occured. I was forced to downgrade back to 1.7.3.
This discussion has been closed.
Replies
My apologies, you are absolutely right. The Oracle Result.php file should be:
That will be corrected in the next release!
Regards,
Allan
Thanks. It works now.