It seems to be an issue with version 6.13.0 of The Events Calendar. I ran into the same issue, and I was able to work around it by uninstalling 6.13.0 and reinstalling 6.12.0.1 before running the csv import.
Thanks @giuse, that edit fixed the issue on PHP 8 for my website as well.