- π΅π°Pakistan hmdnawaz
Yes, I re-installed the module and went to the /admin/config/content/charts and saved and clear the caches.
Still, I'm getting this error.
On
/admin/config/content/charts
, I do not see any field related to the library.In
web/modules/contrib/charts/src/Element/BaseSettings.php
, I printed the $element variable and I see thisThe library value is empty.
- π¨π¦Canada nikathone Ontario
@hmdnawaz here is an obvious question but I think I ask to get make sure that you did enable at least one of the charts library module? Also can you, please, let us know at what line in
web/modules/contrib/charts/src/Element/BaseSettings.php
you printed the$element
?Thank you in advance for providing more information about this issue.
- π΅π°Pakistan hmdnawaz
Yes I enabled the highcharts module.
I printed the $element variable just before this if statement. Line # 125
if (!empty($element['#library']) && isset($library_options[$element['#library']])) {
Also when I go to the the charts settings page, I don't see the highchart settings there.
- Status changed to Needs review
over 1 year ago 7:49pm 20 June 2023 - last update
over 1 year ago 10 pass - πΊπΈUnited States andileco
Sorry for the delay on this, it took a while to figure out how to replicate it. I think this patch should solve the issue. But let's make sure the tests pass.
-
andileco β
committed 239758b4 on 5.0.x
Issue #3263413 by andileco, hmdnawaz, crutch, nikathone: Warning:...
-
andileco β
committed 239758b4 on 5.0.x
- Status changed to Fixed
over 1 year ago 8:31pm 20 June 2023 - πΊπΈUnited States andileco
Fixed. @hmdnawaz you will need to save the form at /admin/config/content/charts before you will see the Highcharts Settings as one of the horizontal tabs.
Automatically closed - issue fixed for 2 weeks with no activity.