@m910 I helped someone with this issue the other day so I might be able to help you get the classes back.
Could you go into your wp_options table and search for the option_key “bricks_global_classes” and paste the option_value onto unserialize.com? Then click the unserialize button and post the url here.