KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

KoolReport Pro isn't fully compatible with PHP 8.2 #3412

Open Hasan Hashemi opened this topic on on Jan 22 - 1 comments

Hasan Hashemi commented on Jan 22

Dear Koolreport team,

I've received PHP deprecated Warnings in the Excel Package (File: koolreport/excel/TableBuilder.php).

1) json_decode(): Passing null to parameter #1 ($json) of type string is deprecated

Line 385: $valueArr = json_decode($value, true)

========================================================================================

2) DateTime::createFromFormat(): Passing null to parameter #2 ($datetime) of type string is deprecated

Line 269: if ($date = \DateTime::createFromFormat($datetimeFormat, $value))

How can you reproduce the problem?

I have Null-Values in table columns of an Postgres database.

Well, I hope for a fix as soon as possible. Please test your product with null values.

Kind regards

Sebastian Morales commented on Feb 3

Hasan, thank you for your feedback. We can confirm the problem happens with null values. We will fix this in the next version of KoolReport Pro. If you need a fix as soon as possible pls send us an email to support@koolreport.com. Tks,

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
bug

Excel