Great thanks. I’ve deactivated all plugins. I’ve also changed the theme. I deleted some plugins I was not using, and now it’s working. It was not the theme that was a problem, it was definitely a plugin, but I’m not sure which one.
But thank you for the advice. It really helped.