You also may have a look on the Octoapp. But this does not effect your issue.
2023-03-03 12:18:20,512 - octoprint.plugins.octoapp - WARNING - Failed to get webcam snapshot HTTPConnectionPool(host='192.168.0.107', port=8080): Max retries exceeded with url: /?action=snapshot (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xa8a444c0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2023-03-03 12:18:20,517 - octoprint.plugins.octoapp - WARNING - Failed to get webcam snapshot Invalid URL '': No scheme supplied. Perhaps you meant https://?
G28 ;Home
G92 E0 ;Reset Extruder
G1 Z2.0 F3000 ;Move Z Axis up
G1 X10.1 Y20 Z0.28 F5000.0 ;Move to start position
G1 X10.1 Y200.0 Z0.28 F1500.0 E15 ;Draw the first line
G1 X10.4 Y200.0 Z0.28 F5000.0 ;Move to side a little
G1 X10.4 Y20 Z0.28 F1500.0 E30 ;Draw the second line
G92 E0 ;Reset Extruder
G1 Z2.0 F3000 ;Move Z Axis up
The gcode file is ok, and as you noticed, it works ok in safe mode.
It's difficult to say, what plugin could be the culprit.
Finding this out can be a bit tedious.
You may start with manually disabling the second half of the plugins.
Is it ok then, the first half is ok. If not, disable the second half of the first half and try again.