Error Processing hook GSLC for Command M503

When I try to run the Gcode M503 in the Terminal, there is no response. Here is what the log file shows.
2020-12-19 13:41:39,864 - octoprint.util.comm - ERROR - Error while processing hook GSLC for phase queuing and command M503:
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/", line 4490, in _process_command_phase
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/util/", line 1890, in wrapper
return f(*args, **kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_GSLC/", line 68, in hook_gcode_queuing
self.pigClient.set_PWM_dutycycle(18, finalValue)
File "/home/pi/oprint/local/lib/python2.7/site-packages/", line 1479, in set_PWM_dutycycle, _PI_CMD_PWM, user_gpio, int(dutycycle)))
File "/home/pi/oprint/local/lib/python2.7/site-packages/", line 1023, in _pigpio_command
sl.s.send(struct.pack('IIII', cmd, p1, p2, 0))
AttributeError: 'NoneType' object has no attribute 'send'
PII 3, latest Octoprint software, running a AnyCubic Mega S with Marlin

M115 works OK

If I use Matter Control or Pronterface I get a response.
Any thoughts appreciated.

Ths issue is related to whatever plugin you have installed that's named that.

I suspect you should open an issue here.

Given you have an FDM 3D printer, I would just uninstall the Gcode Super Laser plugin :wink:

Great Work guys! That fixed it. Had this plugin for when I use AnyCubic as a laser engrave...