Hi all,
I'm experiencing problems with a Faceted Search page in an app (APEX 23.1 on OCI ADB), partly resolved by use of

as recommended by @carsten-czarski-oracle (thanks Carsten!) in response to an earlier post (https://forums.oracle.com/ords/apexds/post/faceted-search-page-ora-00904-error-when-1-facet-with-compu-2954).
However, now, when the user attempts to chart a facet, a javascript error occurs:

Any help in resolving this issue will be much appreciated.
Thanks
John