Skin shortcuts error


I get this a lot (with the OSMC skin): “Skin shortcuts error” and the log contains

19:17:30 7715.368164 T:1623192608 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.AttributeError'> Error Contents: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File "/home/osmc/.kodi/addons/script.skinshortcuts/", line 347, in <module> Main() File "/home/osmc/.kodi/addons/script.skinshortcuts/", line 68, in __init__ XML.buildMenu( self.MENUID, self.GROUP, self.LEVELS, self.MODE, self.OPTIONS, self.MINITEMS ) File "/home/osmc/.kodi/addons/script.skinshortcuts/resources/lib/", line 67, in buildMenu dir = profile.find( "directory" ).text.encode( "utf-8" ) AttributeError: 'NoneType' object has no attribute 'encode' -->End of Python script error report<--

What does this error mean ?

This is in the Master user profile (I have two other profiles but they’re broken since the December update).