Client wrote a word into the Number Counter's "Total" Field.

Hey guys!

One of my clients wrote a word into the Number Counter’s (Bar Counter) Total field what causes an error and doesn’t let him edit this page any more.

Console says: “his entered word” is not defined.
Of course because a number is required in this field.
Affected File: layout-draft.js

Best wishes,
David

Hey David,

Do you still have access to the backend? If so, you can get to the WP native editor and restore the page to an earlier revision. Also, I’ve submitted a bug report for this. Thanks for the heads up! :slight_smile:

Ben

Hey Ben,

thanks for your fast reply!
Unfortunately i have revisions deactivated in my wp-config file :frowning:

Best,
David

Hey David,

Is recreating the page not an option then? The only other way around this would be restoring from a backup or changing the DB entries, which is a bit risky.

Ben

Hi Ben,

yes i’am already recreating it :slight_smile: maybe this should be a number-field, so nobody could ever write text into this in the future :smiley:

Have a great day Ben,
thanks for your fast support!

Best wishes,
David

Hey David,

Exactly what I had in mind! :slight_smile: Anyway, the guys will figure out a way to prevent this from happening again. Anyway, have fun with BB! :slight_smile:

Ben

Hey David,

Just letting you know that the fix for this will be available on the next maintenance patch. :slight_smile:

Ben