Image Occlusion Enhaced bug

Hello everyone, I have been trying to create a flash card with image occlusion enhanced with text, lines, and rectangles as you can see here:

But it won’t allow it, saying the following: (I don’t have any knowledge about programming so I’m lost as to what I should do to fix this). I tried creating the same card in another deck and it allowed me. I don’t know what could be happening. Please help.

Debug info:
Anki 2.1.46 (94913ec2) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-08-26 13:03:00

Caught exception:
Traceback (most recent call last):
File “aqt\webview.py”, line 538, in handler
File “C:\Users\kedyg\AppData\Roaming\Anki2\addons21\1374772155\add.py”, line 278, in
lambda val, choice=choice, close=close: self._onAddNotesButton(choice, close, val))
File “C:\Users\kedyg\AppData\Roaming\Anki2\addons21\1374772155\add.py”, line 293, in _onAddNotesButton
r = gen.generateNotes()
File “C:\Users\kedyg\AppData\Roaming\Anki2\addons21\1374772155\ngen.py”, line 80, in generateNotes
(svg_node, layer_node) = self._getMnodesAndSetIds()
File “C:\Users\kedyg\AppData\Roaming\Anki2\addons21\1374772155\ngen.py”, line 190, in _getMnodesAndSetIds
mask_doc = minidom.parseString(self.new_svg.encode(‘utf-8’))
AttributeError: ‘NoneType’ object has no attribute ‘encode’

These are the add-ons I’m using currently: