So currently whenever I edit a component (just a tiny change like a padding for example) and hit save it seems to disconnect all the set variables everywhere. To be sure it wasn’t some plugin I deactivated them all and tried again. And what I mean with disconnect is that anything that has been setup in theme styles using variables seems to be gone. Text sizes going back to default for example, utility classes are still there on the elements but not with the actual css etc.
When I open the variables panel and select any spacing or other variable group and just hit save in the top right corner everything works again. Until I go edit a component again and it all gets disconnected again. Any idea if I am doing something wrong or what else could be causing it if not bricks?
There is no custom functions on this site yet, and plugins don’t seem to be the issue either.
So to be sure, all plugins were deactivated for this to rule out any of those affecting anything.
I then showed a template with some sections text etc. The template has styling through variables that are setup inside bricks.
I then switch to another window where I have my “sandbox“ where I create components.
Quick note it only happens when editing a component.
I edit one of the existing components (doesn’t matter what styling you apply). Hit save and reload that first template page. All applied variables seem to be unlinked.
I then go back to the sandbox open the variable manager and just hit save (doesn’t matter what spacing is selected). I go back to that template hit reload and everything is linked up again.
Then I go back to undo that little change inside the component and hit save, everything gone again etc etc.
Thank you so much for the video. I was trying to replicate this locally on Bricks 2.2 version but I was unable to do so. Every time that I update the component, everything else stays the same and just the component updates over the website.
Because I can’t replicate the issue, can you send temporary login credentials to your website and a link to this topic to help@bricksbuilder.io using the email address you used during the purchase, so we can take a look?
If you have a staging website, then I prefer that one. Especially because I will be changing the style so I don’t want to break anything on live website.
Well thank you for your time. So I decided to dig some more myself first. Actually thought perhaps it was a corruption error. But after going through the DB nothing there. It ended up being a setting issue inside bricks…
The CSS loading method, when set to external in combination with guess siteground hosting it seems to cause the issue. I also tried on a clean local setup with that setting enabled and wasn’t able to reproduce.
So if I understand, you could only replicate this using on SiteGround hosting, but not locally? That might explain why I was unable to replicate it on my site.
If possible, I would still ask you if you can send me the login credentials for your staging website so that I can test and inspect the issue. Ideally, you can create a staging website, so I can disable plugins and change what I need to test this, without breaking the live website.
We would love to figure out what is happening.
I’ve cleared one of my testing environments (on siteground hosting) and setup a little template. I can confirm that the exact same thing happens there, so definetly the combination of siteground hosting + that specific setting.