Missing built-in graphs

CMK version: 2.4.0p2
OS version: AlmaLinux 9

Error message: no results shown when I select drop down to select graph from Performance Graph and no built-in graphs available at Graph collections. Error is seen each time I select the drop down to select a graph.

Logged error in web.log: (If it is a problem with checks or plugins)

2025-12-22 09:15:17,229 [40] [cmk.web SNIP] error calling AJAX page handler
Traceback (most recent call last):
File “/omd/sites/monitor/lib/python3/cmk/gui/pages.py”, line 102, in handle_page
action_response = self.page()
^^^^^^^^^^^
File “/omd/sites/monitor/lib/python3/cmk/gui/autocompleters.py”, line 247, in page
result_data = completer(api_request[“value”], api_request[“params”])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/omd/sites/monitor/lib/python3/cmk/gui/dashboard/dashlet/dashlets/graph.py”, line 443, in graph_templates_autocompleter
graph_and_single_metric_templates_choices_for_context(params[“context”])
~~~~~~^^^^^^^^^^^
KeyError: ‘context’
2025-12-22 09:15:17,570 [40] [cmk.web SNIP] Unhandled exception (Crash ID: SNIP)
Traceback (most recent call last):
File “/omd/sites/monitor/lib/python3/cmk/gui/pages.py”, line 102, in handle_page
action_response = self.page()
^^^^^^^^^^^
File “/omd/sites/monitor/lib/python3/cmk/gui/autocompleters.py”, line 247, in page
result_data = completer(api_request[“value”], api_request[“params”])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/omd/sites/monitor/lib/python3/cmk/gui/dashboard/dashlet/dashlets/graph.py”, line 443, in graph_templates_autocompleter
graph_and_single_metric_templates_choices_for_context(params[“context”])
~~~~~~^^^^^^^^^^^