WIP: Save error [object Object] when trying to save in 1.11 beta

Browser: Chrome 129.0.6668.100
OS: Linux Mint 21.3
URL: https://staging.erasmus-campus.de
Screenshot:

image

Current Results:
With what feels like a 50%ish repro rate, I get [object Object] errors when attempting to save. The issue usually goes away after refreshing the builder, but then, the work done since last save gets lost.

Expected Results:
Builder should save properly.

Happy to provide any further information as requested, not sure what do provide right now.

2 Likes

Hi @mr.matt.eastwood,

the builder should save properly, yep :slight_smile: But it looks like something went wrong. Next time that this happens, can you check the network tab, and see what is the HTTP code of the request and the response?

Also, please check debug.log, if there is anything inside.

Let me know then. Thanks!
Matej

I can consistently reproduce this error by opening for edit 4, 5 or even 6 templates at the same time using Firefox. Haven’t tried with other browsers.

Eventually, after the 4th or 5th template editing, the error occurs when saving. I initially thought it was probably an OOM error but after increasing the limits, still had the same issue.

After some digging, I found that disabling intrusive/demanding Firefox extensions (UBlock Origin, Privacy Badger, etc.) helps tremendously. The error still happens but much more sporadically.

BTW, I noticed that running Firefox without any extensions makes the builder much faster. I now keep a copy of Firefox Dev Edition exclusively for Bricks building.

Here’s a video of what the Console and Network tabs say when the error occurs:

I’m running the beta in a Chrome incognito window, so no extensions except one for screenshots and one for smooth mouse scrolling.

Does this help?

Thank you for the video.

Since I can’t yet replicate the issue, can you send temporary login credentials to your website and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase, so we can take a look?

Also, if it’s happening only on one page/template, can you send a link to it.

Thanks,
Matej

Sure, will do! E-mail is coming in a moment.

Has this been fixed? I’m getting this in 1.11 as well …

Hi,

can you reproduce this every time or consistently? If yes, would it be possible to send us temporary login credentials to your website and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase, so we can take a look, and we try to reproduce the issue?

Please also mention the steps that are needed to reproduce this (or record a video).

Thanks,
Matej

Hi Matej,

I reloaded the builder, and didn’t get the error after that -sorry! I can’t give you anything more than just this screenshot

image

Thank you, if this happens again, can you check developer tools, and check what is the result of the request?
Maybe even record a video with https://jam.dev/, so we can see the request. That way, we will have a better idea on how to reproduce it and why it happens.

Thanks!

Hi Matej,

Same issue occurred again -here’s a video: https://youtu.be/TPza1q7OLyc

I hope it’s of any use to you! Fior what it’s worth: I was editing classes on another template (classes that are also used in this page), then returned back to this one, and saw the notification/error.

Same here. I wrote this to Bricks support 2 days ago:

"Hey guys, I have Steps to Reproduce for you:

  1. Open a template, e.g. “Front Page Hero”
  2. Change something about it, save
  3. Open a page in a new tab (e.g. Front Page)
  4. Insert the template you just worked on while it’s still open in the other tab
  5. Do some stuff to it on the page after inserting it there
  6. Try to save the page

Seems like a 100% repro rate this way for me."

Hi all,

I forgot to update this topic :sweat_smile:, but with the help of the steps from the email, we were able to reproduce the error.

It happens if you modify the same class in different tabs. I suppose that if you disable “Sync global classes” it will not happen anymore (if you don’t need this setting).
But, if you get this error even without the sync enabled, then let me know. Thanks!

We will update this topic as soon as we release a fix for this.

Thanks,
Matej.

2 Likes

I bit more info.

I doesn’t happen only while modifying the same class in different tabs. I can consistently hit this error while editing 2 templates simultaneously with completely different classes and that share nothing in common.
To clarify, these templates were created from scratch, without any copy pasta between them. Still get the error every 10 to 15m. A bit annoying.

For now I’ll disable “Sync global classes” and see if it improves.
Thanks!

Thanks! Hmm, when this happens, can you check the developer tools and check what the response is? That will help us a lot when figuring out a solution.

Thanks!
Matej

Hey Matej

Thanks for replying. I disabled the sync global classes and problem did not manifest itself again yesterday. That was 3 or 4 hours of work. I’ll enable it again and see if I can capture the problematic response.

Have a great one!

1 Like

Thanks. If it does do, I would really like to see the response. :slight_smile:

Matej

Same issue here (1.11 release, not beta), will grab the error the next time

In addition to the error, please also check the developer tools of the request, with “response” tab expanded. That will help us identify if the issue is the same as we know, or it’s a different one.

Thanks!
Matej.

CONSOLE:

main.min.js?ver=1729866675:111 bricks_save_post:error Objectaction: "bricks_save_post"area: "content"bricks-is-builder: 1content: "[{"id":"jetjjv","name":"section","parentglobalChanges: "{"added":,"deleted":,"modified":}"globalClasses: "[{"id":"acss_import_width–vp-max","name":\globalClassesTimestamp: "1730225131"globalClassesTrash: "[{"id":"tkscfd","name":"trigger–nav","snonce: "a7bad19886"postId: "20"templateType: “content”[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()defineGetter: ƒ defineGetter()defineSetter: ƒ defineSetter()lookupGetter: ƒ lookupGetter()lookupSetter: ƒ lookupSetter()proto: (…)get proto: ƒ proto()set proto: ƒ proto() Object Object
success @ main.min.js?ver=1729866675:111