0
Undo
Votes
Hi,
Many reports using the ArtData are running fine when under PHP 7.x.
But when I try to run it under PHP 8.1, it will return this error "count(): Argument #1 ($value) must be of type Countable|array, stdClass given".
I have tried to trace the error, but it seems the "left join" is causing this error.
Do you have any clues on it?
[29-Jul-2024 04:38:15 UTC] PHP Warning: Undefined property: ArtDataViewVisualizations::$settings in {mywebsite}/administrator/components/com_artdata/views/visualizations/tmpl/default_settings.php on line 37
[29-Jul-2024 04:38:15 UTC] PHP Warning: Attempt to read property "api_endpoint" on null in {mywebsite}/administrator/components/com_artdata/views/visualizations/tmpl/default_settings.php on line 37
Thanks and regards,
Fred
Many reports using the ArtData are running fine when under PHP 7.x.
But when I try to run it under PHP 8.1, it will return this error "count(): Argument #1 ($value) must be of type Countable|array, stdClass given".
I have tried to trace the error, but it seems the "left join" is causing this error.
Do you have any clues on it?
[29-Jul-2024 04:38:15 UTC] PHP Warning: Undefined property: ArtDataViewVisualizations::$settings in {mywebsite}/administrator/components/com_artdata/views/visualizations/tmpl/default_settings.php on line 37
[29-Jul-2024 04:38:15 UTC] PHP Warning: Attempt to read property "api_endpoint" on null in {mywebsite}/administrator/components/com_artdata/views/visualizations/tmpl/default_settings.php on line 37
Thanks and regards,
Fred