3.0.4 Countdown element crashing builder

I’ve put in a countdown element and every time I click on it it removes all the elements/layouts in the settings

Comes back on refresh but then repeats the same bug.

Hi @RubberDuckers,

I’ve just tried this out and it’s working ok here, maybe it’s a combination of settings. When the error occurs, could you open developer tools and let me know what errors you see in the console? Thanks!

Hey @alexander

I deleted the countdown and put a new one in and it happened again, so definitely something with that element in particular.

Screenshot of the console log, the last 2 entries appear when I click on the Countdown.

Also, I’m not sure if it’s related, but the icon next to it does not render properly, no matter what icon I choose!

Scrap that bit about the icon, user error!

Thanks! Could you try something for me? Open the developer tools, copy/paste this into the console and press enter:

console.log(window.csAppData.date_format, window.csAppData.time_format)

Let me know what is output from that. Thank you!

Had to do it on another page but same issue with it so hopefully OK for you:

console.log(window.csAppData.date_format, window.csAppData.time_format)
VM188:1 jS F Y H:i
undefined

Thank you! I’ve confirmed the issue and will figure our a fix. Worst case I’ll run a build off our master branch for you to install.

Awesome!
I’m in no dire rush for it - was only a nice to have putting it in there at the moment so don’t need anything urgently :slight_smile:

Ok! I’ve identified that it’s related to the S in a custom PHP data format. If you changed that to a different format in the WP backend it would start working again. However, I was able to fix it.

We’re almost ready for a beta for the grid element. That could be going out today or Monday. The fix will be included in that beta if you’re comfortable installing it on the production site. I feel like that would be safe in this case because this beta hasn’t changed much other than adding the Grid element and a few bug fixes.