This issue is due to the browser and smartphone that you are using. There are a few simple ways to solve it:
If you are using Chrome browser on iPhone, please use the Safari browser when you are using the QR code (Chrome browser works with Android phones).
Check if you have allowed access for your camera to scan QR codes under your smartphone's Settings?
Lastly, try to clear your browser's cache and refresh.