Describe the bug
I tried to integrate AdminLTE V3.0 into my Application.
Expected behavior
When I launced the Application, I expected the Dashboard V1 to display as its in AdminLTE v1 dashboard v1, but I got this error:
jquery.min.js:2 Uncaught TypeError: Cannot read property 'getContext' of null
at HTMLDocument.<anonymous> (dashboard.js:113)
at e (jquery.min.js:2)
at t (jquery.min.js:2)
See the diagram:
Screenshots
Then this made the dashboard not to display the graph appropriately:
Environment :
Additional context
How do I resolve this please?
Do you get other errors/warings too or only the warning and the one error?
Does this error comes also on the online demo?
Did you changed the content in Dashboard 1?
@REJack - 1. No, I didn't get other errors/warnings
I've tested a bit the dashboard.js and the the error comes when the canvas (<canvas id="revenue-chart-canvas">) is not available, but the dashboard js files are only for demo purpose and not required.
OK. Thanks
Is this issue still open?
Yes, its still open? How do I close it since its resolved?
I don't understand, is your problem solved?
Yes, the problem is solved. Thanks
The problem also appears in the demo version.
appears after a few seconds