KoolReport's Forum

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

Class 'App\Reports\Join' not found #2597

Open FIMM opened this topic on on Feb 27, 2022 - 6 comments

FIMM commented on Feb 27, 2022

I am using laravel koolreport pro version. I want to Join two or more sources. I use this Trait in my report use \koolreport\laravel\Friendship; and $join = new Join($complain_source,$close_source,array("year_of_complain"=>"year")); But it showing Class 'App\Reports\Join' not found .

Please help me

Thanks

KoolReport commented on Feb 27, 2022

Please add this at top of report:

use \koolreport\processes\Join;
FIMM commented on Feb 27, 2022

I try use \koolreport\processes\Join; but showing the following error App\Reports\CasComplainFimm cannot use koolreport\processes\Join - it is not a trait

KoolReport commented on Feb 27, 2022

Use it outside of report class:

use \koolreport\processes\Join;

class MyReport
{

}
FIMM commented on Feb 28, 2022

Thanks it's work for me.

amar commented on Jun 12, 2022

Class 'App\Http\Controllers\Controller' not found

KoolReport commented on Jun 13, 2022

We have no Controller class, it could be from Laravel. Anyway, the rule is that you need to use use to register correct name of any class.

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
solved

None