KoolReport's Forum

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

Creation of Dynamic Property Warning #2957

Open eMaX opened this topic on on Jan 23, 2023 - 3 comments

eMaX commented on Jan 23, 2023

Hi all,

I'm getting these:

Deprecated: Creation of dynamic property ic::$vars is deprecated in blafasel.php on line 17

PHP Version is 8.2.1.

Thanks!

Sebastian Morales commented on Jan 27, 2023

I'm not sure where this file comes from. If it's from another vendor's package, can you try to update its version to see whether an updated version solves the issue with PHP 8.2.

Daniel Cordeiro commented on Jan 29, 2023

The same problem it happened with me too.

Message: Creation of dynamic property koolreport\datasources\PdoDataSource::$originalQuery is deprecated Line: 150 File: /Users/dcxx/Insync/DrivePessoal/Google Drive/Projetos/dashboard/vendor/koolreport/core/src/datasources/PdoDataSource.php

The AutoMaker command:

return AutoMaker::rawSQL("SELECT count(*)

      FROM tb_pedidos")
       ->where("fk_cliente",69)
       ->where("data_cadastro",">","2023-01-01")
       ->run();
Sebastian Morales commented on Jan 30, 2023

Pls put the following command at the beginning in your project's index.php or App.php:

error_reporting(E_ERROR | E_PARSE);
...

We will fix this warning with PHP 8.2 in the next version of KoolReport.

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
None yet

None