SOLVED: Warnings when editing Fluent Forms fields in Design Mode

Bricks Version: 1.5-RC2
Browser: Edge 100+
OS: Windows
PHP Version:8.0
PHP Error level & Debug mode:enabled

For some odd reason, I get warnings coming from Bricks when editing in Design Mode the Fluent Forms I am creating.

Few examples:

Warning: Undefined array key "borderStyle" in /web/app/themes/bricks/includes/theme-styles/controls/element-heading.php on line 88

Warning: Undefined array key "imageRatio" in /web/app/themes/bricks/includes/theme-styles/controls/element-image-gallery.php on line 19

Warning: Undefined array key "borderStyle" in /web/app/themes/bricks/includes/theme-styles/controls/element-list.php on line 303

Warning: Undefined array key "styles" in /web/app/themes/bricks/includes/theme-styles/controls/element-slider.php on line 145

Warning: Undefined array key "buttonSizes" in /web/app/themes/bricks/includes/theme-styles/controls/element-slider.php on line 151

Warning: Undefined array key "imageRatio" in /web/app/themes/bricks/includes/elements/base.php on line 2333

Warning: Undefined array key "controls" in /web/app/themes/bricks/includes/assets.php on line 30

You also get this when trying to preview one of the pre-built forms:

Warning: Undefined array key “imageRatio” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/elements/base.php on line 2349

Warning: Undefined array key “borderStyle” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/theme-styles/controls/element-heading.php on line 88

Warning: Undefined array key “imageRatio” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/theme-styles/controls/element-image-gallery.php on line 19

Warning: Undefined array key “borderStyle” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/theme-styles/controls/element-list.php on line 303

Warning: Undefined array key “styles” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/theme-styles/controls/element-slider.php on line 145

Warning: Undefined array key “buttonSizes” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/theme-styles/controls/element-slider.php on line 151

Warning: Undefined array key “imageRatio” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/elements/base.php on line 2349

Warning: Undefined array key “position” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/elements/base.php on line 517

Warning: Undefined array key “styles” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/elements/heading.php on line 67

Warning: Undefined array key “borderStyle” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/elements/heading.php on line 160

Warning: Undefined array key “position” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/elements/base.php on line 517

Warning: Undefined array key “flexWrap” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/elements/container.php on line 114

Warning: Undefined array key “position” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/elements/base.php on line 517

Warning: Undefined array key “position” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/elements/base.php on line 517

Warning: Undefined array key “flexWrap” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/elements/container.php on line 114

Warning: Undefined array key “position” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/elements/base.php on line 517

Warning: Undefined array key “flexWrap” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/elements/container.php on line 114

Warning: Undefined array key “position” in /Applications/MAMP/htdocs/wp-content/themes/bricks/includes/elements/base.php on line 517

1 Like

Hi Cristian,
Thanks so much for your report, and sorry for the late reply!

We had to push this issue back a bit through the 1.5.1 RC release, but we could reproduce it.

Best regards,
timmse

1 Like

This issue seems still to be there in 1.5.4. Will it be fixed soon?

Best,
Bengt

I no longer see these in 1.5.6, can you confirm it’s been fixed on your end as well @Bellul ?

According to our internal test, it is working too now (in 1.5.7). So I’ll mark it as SOLVED.

If anyone still experiences any issues just reply to this thread with more details.

@thomas I’m on 1.6.1 and getting this error on Fluent form design preview:

Warning: Undefined array key “controls” in /wp-content/themes/bricks/includes/assets.php on line 343

Hello @alo , Hello @thomas ,

I confirm I see these again in 1.6.2.

Here’s a screenshot from right now running on Bricks 1.6.2 with Bedrock:

Warnings are:

Warning: Undefined array key "original_post_id" in /home/x/webapps/x/web/app/themes/bricks/includes/database.php on line 691

Warning: Undefined array key "original_post_id" in /home/x/webapps/x/web/app/themes/bricks/includes/database.php on line 691

Warning: Undefined array key "original_post_id" in /home/x/webapps/x/web/app/themes/bricks/includes/database.php on line 691

Warning: Undefined array key "controls" in /home/x/webapps/x/web/app/themes/bricks/includes/assets.php on line 343

Hey guys,
The issue will be fixed in the upcoming version :v:

Hi guys,
We’ve fixed this bug in Bricks 1.7 beta, now available as a manual download in your Bricks account: Account – Bricks

Please let us know if you are still experiencing issues.

Best regards,
timmse

1 Like