SOLVED: Bricks classes lost

We experience the same today that classes are gone when collab on the site working on different templates and sites (all class) missing after comeing back?

Hi René,
That’s annoying to hear. What exactly do you mean by

Can you provide us with specific steps so that we can reproduce the problem?

I mean we working in collab on different templates and sites, and when the developer come back after a few hours the “class” where removed of all the work he had done.

So there is a problem we have experience it once before, also where i have worked for 1-2 hours and then come back and i dosent work (we have saved) the work but still the class where missing?

Thats the issue

Maybe you’re both logged in at the same time and saving is overridding the other person’s changes?

Hi wplit

We worked on different templates and sites? i should be possible

We never work on the same page or template

Hmm yeah but this is not good if u mean u can work on the same time on diffrent templates and save?

Hi René,
Was the page or template still open during your “absence”? If so, only with one of you or both…

I really need concrete and reproducible information to track down the potential problem.

We have also been experiencing this nearly every time when two devs have been working on the same site at the same time (on different subpages) and have been adding and customizing new classes / working with classes. It always seemed to work for a while, but suddenly - and this happened every time - classes created by one of the two devs have been completely gone.

Since this issue persisted and since we couldn’t find a workaround, we - unfortunately - needed to stop that 2 devs are working on the same site at the same time, so I can’t give more details at this point of time.

Nevertheless, I have also heard from other agencies/devs, that this is in fact an issue for others too and - as far as I know - no one found a solution for this kind of class loss and stopped doing it.

Would be great, if this could be solved at any point in the future … especially if you have larger projects with tight timeframes.

I’ve just noticed that we already have a significantly more up-to-date report and an internal task for this issue @dyna @beziehungsweise :v:

We’ll update the thread mentioned above once the fix has been implemented.

3 Likes

just searched about the issue and wondering since its marked as “sovled” and last answer is noone can say when its fixed? any insights about this would help alot.

1 Like

Hi @grafikundso,

The bug in this forum report was fixed in 1.6.2:

There’s a different bug that could cause classes to be lost which is reported here and is a work in progress: WIP: Simultaneous CSS Editing

Hello,

I am facing the same issue. All my plugins, theme are up to date. And today all my classes are gone. How can it be solved?

Thanks,
Peter

1 Like

Hi @peterteszary,
Sorry to hear that!

Are you, by any chance, using a (subfolder) multisite installation or a Bricks installation running in a subfolder/subdomain?

If so, this will probably have led to the problem if, for example, you had several tabs from different installations open in parallel in the multisite installation. This known problem will hopefully be solved in the next version :crossed_fingers:

You can check if the classes are still available in the trash—if so, you can restore them. If you have a database backup (always a good thing), you can also use it to restore the classes.

Sorry for the necro post. However, this exact thing happened to me and I’ve lost all of the redesigning work I was doing on my subfolder multisite staging setup. It’s absolutely exasperating and I’m feeling so defeated!

Unfortunately, I don’t see anything in the Trash. :exploding_head::worried:

Hi Vignesh,
Sorry to hear that! To my knowledge, we have not received any reports on this issue for a long time, so it appears to be an isolated case. However, the same applies as before: we need specific, reproducible steps to be able to reproduce and fix the problem. If you can remember exactly what you did, how many tabs were open at the same time, etc., that would be a great help.

I have a subfolder staging setup on my multisite where I’m overhauling the look of a single site. The prod site is live with regular content updates happening on it.

  1. I had bricks open on the subfolder staging site in one tab, while another tab had bricks open on the prod site where I was adding a new section to an existing page.
  2. I copied an element from the staging site and pasted it on the prod site and edited its contents.
  3. Saved prod site and previewed contents. All okay.
    I then got the Wordpress Database update required box on the staging site. Clicked Update.
  4. Went back to staging and refreshed a newly designed page –> no styles. Inspected elements to find out that they had no classes assigned. Checked the class manager in bricks and realized all the classes ever created on the staging were wiped clean.

I’ve had to restore the entire network from a daily backup. Lost at least 10 hours of work each of 4 individuals. Another ~3 hours to setup the staging outside the multisite (this time), restore from a separate content backup of the staging and reimport all the classes from the main backup into this new staging site.

Horrible experience. Hope this helps.

Hey @vignesh,

I’m sorry for not replying earlier. Looks like this got lost.

If you can replicate the issue every time, could you send us a login, so we can test this and a video how to do it?

Thanks,
Matej

Hi, we are working with bricks 2.3 and if I have multiple editor windows open at the some time (of course different pages / templates), sometimes out of nowhere custom classes get lost. I have no idea what causes the issue and why only some classes get lost. auto save is off….

example which happens minutes before
editing a page, creating a template from a section.
reload the page to get the new template into the template selector dropdown.
still on the page in editor mode and open the template from the template widet in an other window to add another section into the template by copying it from the page. After that I deleted the copied section from the page as it is now part of the template.

After that I ckecked the page and several classes get lost. luckely my template was still open in edit mode. Pushing the save button did not help but copy the section in the template, removing it and paste it into the template again, then click on save button and the classes worked again. I got no overwrite msg when copying the section into the template.

no idea why that happens - we had such an issue month before with an older version… the result was the same, I’m not sure how to reproduce this issue… it only happend when multple builders are open. We also tried to enable the experimental option to synch all classes over all open editor windows - no offect, happend before and after activation of this option.

I lost many hours of work and need to recreate the classes - as they were completly gone.

thankful for any hint how to avoid this behavior in future.

thx markus

Hey @wkdo,

any chance you record a video how to replicate this? I’m trying to replicate it locally, but I can’t.

Thanks,
Matej