Image Occlusion enhanced not working

I’m try to create a ‘hide all, guess one’ flashcard, but as soon as I click the button to create the cards, it says an error has occurred, and says the following :
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem.
When you’ve discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Mac 11.6
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-11-17 16:35:17
Add-ons possibly involved: ⁨Image Occlusion Enhanced⁩

Caught exception:
Traceback (most recent call last):
File “aqt.webview”, line 568, in handler
File “/Users/hashimmehmood/Library/Application Support/Anki2/addons21/1374772155/add.py”, line 324, in
lambda val, choice=choice, close=close: self._onAddNotesButton(
File “/Users/hashimmehmood/Library/Application Support/Anki2/addons21/1374772155/add.py”, line 343, in _onAddNotesButton
r = gen.generateNotes()
File “/Users/hashimmehmood/Library/Application Support/Anki2/addons21/1374772155/ngen.py”, line 99, in generateNotes
(svg_node, layer_node) = self._getMnodesAndSetIds()
File “/Users/hashimmehmood/Library/Application Support/Anki2/addons21/1374772155/ngen.py”, line 226, in _getMnodesAndSetIds
mask_doc = minidom.parseString(self.new_svg.encode(“utf-8”))
AttributeError: ‘NoneType’ object has no attribute ‘encode’
Is there anything I can do to resolve this issue ?

Thanks

ps every other flashcard I use is working as normal. It is just this one I am having a problem with

Hi there, this comment should help: Image Occlusion Enhanced [Official Support Thread] - #70 by glutanimate