Updating Header Image Breaks Minification Scripts on Homepage

Hey there, I’ve finally figured out what breaks in Perth. The site works just fine until a user tries to update the homepage hero image away from the suited man:

Unsafe attempt to load URL data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale from frame with URL https://mysite.com/?siteorigin_panels_live_editor=true. Domains, protocols and ports must match.

scripts.js:1 Uncaught SyntaxError: Unexpected string
main.min.js:1 Uncaught TypeError: e(...).fitVids is not a function
    at HTMLDocument.<anonymous> (main.min.js:1)
    at i (jquery.js:1)
    at Object.fireWith [as resolveWith] (jquery.js:1)
    at Function.ready (jquery.js:1)
    at HTMLDocument.K (jquery.js:1)
main.min.js:1 Uncaught TypeError: i.parallax is not a function
    at main.min.js:1
    at dispatch (jquery.js:1)
    at r.handle (jquery.js:1)

After this, some kind of weird caching error triggers globally on the site. Smooth scrolling stops working when someone clicks on an anchor tag and no matter how many times you save a new header image, it doesn’t change.

I know lots of people have found errors with this exact thing – please LMK, I’ll can show you the issues on my live site.

ALSO, it’s worth noting that the suited man image does not actually appear in the media library.


> After this, some kind of weird caching error triggers globally on the site.

Did you enable cache plugin? What will happen if you flush cache and disable it temporarily.


Hi, no, there is no cache plugin, and yes I disabled my CloudFlare.

Hello there,

Thank you for the followup. Please share your site here, so I can have a direct look.



Here is the site:


I created an admin user and pass for you, but I’m not sure how to PM or email?


Please email me to kharisblank@gmail.com; mention the link to this thread in your email body.


Hi, just following up on this – I emailed you 3 days ago


UPDATE: figured this out, cloudflare was minifying my js