Error: ...e/user/.config/lite-xl/plugins/lite-xl-terminal/init.lua:450: attempt to call a nil value (method 'get_width_subpixel')

stack traceback:
	...e/user/.config/lite-xl/plugins/lite-xl-terminal/init.lua:450: in method 'draw'
	/opt/lite-xl/data/core/node.lua:592: in function 'core.node.draw'
	/opt/lite-xl/data/core/node.lua:32: in function 'core.node.propagate'
	/opt/lite-xl/data/core/node.lua:597: in function 'core.node.draw'
	/opt/lite-xl/data/core/node.lua:32: in function 'core.node.propagate'
	/opt/lite-xl/data/core/node.lua:597: in function 'core.node.draw'
	/opt/lite-xl/data/core/node.lua:31: in function 'core.node.propagate'
	/opt/lite-xl/data/core/node.lua:597: in function 'core.node.draw'
	/opt/lite-xl/data/core/node.lua:32: in function 'core.node.propagate'
	/opt/lite-xl/data/core/node.lua:597: in function 'core.node.draw'
	...	(skipping 3 levels)
	/opt/lite-xl/data/plugins/autocomplete.lua:571: in upvalue 'root_view_draw'
	/opt/lite-xl/data/plugins/treeview.lua:498: in upvalue 'root_view_draw'
	/opt/lite-xl/data/plugins/contextmenu.lua:31: in function 'core.rootview.draw'
	/opt/lite-xl/data/core/init.lua:1344: in function 'core.step'
	/opt/lite-xl/data/core/init.lua:1388: in upvalue 'core_run'
	/home/user/.config/lite-xl/plugins/profiler/init.lua:78: in upvalue 'core_run'
	/home/user/.config/lite-xl/plugins/settings.lua:1867: in upvalue 'core_run'
	/home/user/.config/lite-xl/plugins/ipc.lua:858: in function 'core.run'
	(...tail calls...)
	[string "local core..."]:9: in function <[string "local core..."]:2>
	[C]: in function 'xpcall'
	[string "local core..."]:2: in main chunk
