You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing the same issues
Undefined property: stdClass::$filter {"userId":2,"exception":"[object] (ErrorException(code: 0): Undefined property: stdClass::$filter at /var/www/nextlevelbot.com/vendor/coroowicaksono/chart-js-integration/src/api/TotalRecordsController.php:59)
after update to ^0.4.0
Thanks for proposing a fix for this @Sinecuraweb - I also had this issue while testing replacements for the standard charts. Hoping it is approved by @coroo soon.
@hemant17@Sinecuraweb@alishanda I found the root cause of the issue. This module was updated to be compatible with Nova 4.31, update your copies of Nova and this issue will be resolved.
@coroo Please update composer.json to require versions of Nova at least 4.31
Hi
I use this library with
Laravel 10.25.2
Nova 4.27.13
Laravel and Nova with totally default settings. I just install them.
Every time I try to create any chart from model I have this error in my logs
[2023-12-14 12:17:59] local.ERROR: Undefined property: stdClass::$filter {"exception":"[object] (ErrorException(code: 0): Undefined property: stdClass::$filter at /var/www/vendor/coroowicaksono/chart-js-integration/src/api/TotalRecordsController.php:60)
It's this part of TotalRecordsController
After some investigation I find out that Laravel Controller unserialize json object series as
So final object looks like this
When I fix this like this - everything starts to work
$seriesData = (object) json_decode($serieslist, true);
But, obviously it's not a decision. Can you please tell me what I'm doing wrong and how to fix this.
The text was updated successfully, but these errors were encountered: