KoolReport's Forum

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

ChartCard in Dashboard #3142

Closed John opened this topic on on Sep 8, 2023 - 1 comments

John commented on Sep 8, 2023

I try to use ChartCard in dashboard but i get this error: "...count(): Argument #1 ($value) must be of type Countable|array,..."

I use ChartCard with KWidget in dashboard (my class X extends KWidget) and probably this piece of code is wrong: $this->use(\koolreport\amazing\ChartCard::class)


Can you help me?

John commented on Sep 8, 2023

Ok, i found what it was. I forgot ->run() at the end

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
help needed