You can inform the authors of the Locations plugin, as they or someone else from the community will need to update the plugin to ensure it continues to work in the future.
Unfortunately, the second warning does not clearly indicate which plugin or theme component is causing the issue. This information is likely visible in the browser console. You could check there and then inform the respective author(s).