This indicated an issue with the format in config.txt. Please provide a debug log when you try to access PiConfig.
See also
To get a better understanding of the problem you are experiencing we need more information from you. Please see How to submit a useful support request - General - OSMC for advice on how to help us.