Can't access the shared library


I have a weird issue with the shared library. I’m working with the 7.9.4 Ignition version and I can’t access the shared library, event from the script console. When I run this script in the script console:

shared.GlobalScripts.LineScript.updateLineRunningStatus(“MyLineName”, True)

I got :

Traceback (most recent call last):
File “”, line 5, in
NameError: name ‘shared’ is not defined

I don’t have this issue with another Ignition server running on 7.9.10, but right now, I can’t upgrade the Ignition version.
Do you have an idea about this issue?