In that case you probably have a custom stat causing that error so select 'File --> Open User Data Folder' in PokerTracker 4 and make a copy of the 'Data' subfolder. Next
zip/compress that folder and attach it to a
Support Ticket so we can investigate what's causing this error.