Glimmer-site-header.gjs:144 getBoundingClientRect error only when custom plugin enabled

I don’t know if this is your problem, but rather than connectors, you should now use api.renderInOutlet. I find that more intuitive and less fiddly.