/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js causing error

A single page on my website is showing a syntax error from rocket-loader.min.js:

<h1>Error thrown</h1><p>[] operator not supported for strings</p><script src="/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js" data-cf-settings="f692f17c3f45dd6b7afad59f-|49" defer=""></script><script defer src="https://static.cloudflareinsights.com/beacon.min.js/v652eace1692a40cfa3763df669d7439c1639079717194" integrity="sha512-Gi7xpJR8tSkrpF7aordPZQlW2DLtzUlZcumS8dMQjwDHEnw9I7ZLyiOj/6tZStRBGtGgN6ceN6cMH8z7etPGlw==" data-cf-beacon='{"rayId":"73be0ddd3b1b08a1","version":"2022.8.0","r":1,"token":"xxxxxxxxxxxxxxxxxxxxxxxxxx","si":100}' crossorigin="anonymous"></script>

This is happening on only one page and I just noticed it yesterday. Any ideas how to resolve?


May I ask if this error is presented to you in the Console of the Developer Tools (F12) from your Web browser, or rather in your access log files at your origin host/server? :thinking:

Furthermore, is this error shown from your web application and being presented by the PHP? :thinking:

Currently, I cannot reproduce it on any of my domains using Cloudflare.

Have you tried temporary disabling and re-enabling the Rocket Loaded at the Cloudflare dashboard?

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.