Do you have a link for me to investigate?
Sorry – I think our site may have been down if you went to check. Please see if you can tell anything now, same link.
You seem to be getting an error with your hosting configuration:
Access to script at 'https://secureservercdn.net/50.62.198.97/833.353.myftpupload.com/wp-content/plugins/photonic/include/js/front-end/module/solo-slider/photonic-prettyphoto.min.js?ver=20201216-152014&time=1608140617' from origin 'https://cantonfoodtours.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Your site’s domain is https://cantonfoodtours.com/, but your files are stored on a different server, https://secureservercdn.net/. In version 2.60 of Photonic there was a change to modernize the JavaScript. This is loaded with a special script tag called module. When you have a JS file loaded as a module it is subjected to CORS (Cross-Origin-Resource-Sharing) restrictions.
There are multiple things that can be done to resolve this, and I would recommend them in this order:
- Configure your site / host to avoid pulling the Photonic JS files from the CDN. If the file is pulled from your own site, this error goes away.
- If the above is not possible, you will have to talk your hosts or their CDN folks to add
Access-control-allow-origin: * to the response headers.
- If none of the above is possible, then there is an option in Photonic itself – Photonic → Settings → Generic Options → Advanced → JavaScript Version. Pick the option that says “Include only transpiled code”.
Thanks for the thorough recommendation. I disabled the CDN entirely and activated the setting in #3 too. Still no dice. Maybe I misinterpreted your recommendation…
OK… your error has now changed, and you are no longer getting the error that you were previously.
Right now I think you have checked this option: Photonic → Settings → Generic Options → Generic Settings → Don’t include third-party lightbox scripts. Please uncheck it, since you are inadvertently preventing the PrettyPhoto script itself from loading.
If your site works once this is done, I would suggest setting #3 above back to “Include transpiled and modern code”.
Awesome! That did the trick. Thanks for your help 🙂