In what way has it stopped working?
Nothing happens when I click the button. I’m not able to add any photos to my blog posts.
First thing to try: Please try installing https://wordpress.org/plugins/enable-jquery-migrate-helper/ to see if that fixes the issue.
For more information on what this is all about, see https://wptavern.com/major-jquery-changes-on-the-way-for-wordpress-5-5-and-beyond
If the plugin helps, please contact the developers of the plugins or themes noted in its admin messages. If the plugin does not help, remove it. Then, try the next steps of troubleshooting.
This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.
If you can install plugins, install “Health Check”: https://wordpress.org/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for JUST you, while you’re still logged in, without affecting normal visitors to your site. You can then use its admin bar menu to turn on/off plugins and themes one at a time. See https://make.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/ or https://rankmath.com/kb/check-plugin-conflicts/ for more information.
The ‘Enable jQuery Migrate Helper’ plugin fixed the issue! Thank you so much.