Hi @kimmyx , I tried disabling other plugins and no other plugin resolved the issue. I then disabled ACF Pro, and found that the problem was resolved. So I can confirm that the conflict is indeed with ACF Pro.
Like I said, I need to use ACF Pro. Is there a workaround that you could offer?