[3.0.0-beta1] Critical Error when Pro Forms is active in

Hi. On one of my test sites with lots of Bricks addons, I get a critical error on the frontend when Pro Forms is activated.

System information |Theme name:|Bricks| | --- | --- | |Theme version:|1.11.1.1| |Theme author:|Bricks| |Theme author URI:|https://bricksbuilder.io/| |Theme is child theme:||

WordPress Environment
Home URL: https://daveden.groundpets.com
REST API Prefix: wp-json
WP version: 6.7.1
WP debug:
WP language: en_US
WP multisite:
WP memory limit: 256 MB

Server Environment
Server info: Apache
MySQL version: 8.0.39
Postmeta table meta_value type: longtext
PHP version: 8.0.30
PHP post max size: 256M
PHP execution time limit: 120 - Recommended max_execution_time: 180 (or more)
PHP max input vars: 3000
PHP safe mode:
PHP memory limit: 768M
PHP max upload file size: 256M
PHP wp_remote_post: Success

Active Plugins
Bricksforge (3.0.0-beta.1) by Bricksforge

I copy this! I have the same happening on one of my live sites

1 Like

Thanks guys! Just moved this to the Open Beta category :blush:

Could you check your php error lots for some details about the issue?

This is the error:

Fatal error : Uncaught Error: Cannot unpack array with string keys in /home/customer/www/daveden.groundpets.com/public_html/wp-content/plugins/bricksforge/includes/elements/pro-forms/Helper.php:888 Stack trace: #0 /home/customer/www/daveden.groundpets.com/public_html/wp-content/plugins/bricksforge/includes/elements/pro-forms/ProForms.php(3425): Bricksforge\ProForms\Helper::get_condition_controls(‘actions’, ‘Action Conditio…’, false, Array, false, ‘action’, ‘action’, true) #1 /home/customer/www/daveden.groundpets.com/public_html/wp-content/themes/bricks/includes/elements/base.php(115): Bricks\Brf_Pro_Forms->set_controls() #2 /home/customer/www/daveden.groundpets.com/public_html/wp-content/plugins/bricksforge/includes/elements/pro-forms/ProForms.php(26): Bricks\Element->load() #3 /home/customer/www/daveden.groundpets.com/public_html/wp-content/themes/bricks/includes/elements.php(206): Bricks\Brf_Pro_Forms->load() #4 /home/customer/www/daveden.groundpets.com/public_html/wp-content/themes/bricks/includes/elements.php(190): Bricks\Elements::load_element(‘brf-pro-forms’) #5 /home/customer/www/daveden.groundpets.com/public_html/wp-includes/class-wp-hook.php(324): Bricks\Elements::load_elements(Object(WP)) #6 /home/customer/www/daveden.groundpets.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #7 /home/customer/www/daveden.groundpets.com/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #8 /home/customer/www/daveden.groundpets.com/public_html/wp-includes/class-wp.php(830): do_action_ref_array(‘wp’, Array) #9 /home/customer/www/daveden.groundpets.com/public_html/wp-includes/functions.php(1336): WP->main(‘’) #10 /home/customer/www/daveden.groundpets.com/public_html/wp-blog-header.php(16): wp() #11 /home/customer/www/daveden.groundpets.com/public_html/index.php(17): require(‘/home/customer/…’) #12 {main} thrown in /home/customer/www/daveden.groundpets.com/public_html/wp-content/plugins/bricksforge/includes/elements/pro-forms/Helper.php on line 888

Oh. I’m not on my pc, but I have a guess :blush: I assume this will be gone if you update your php version to 8.1.

But great, thanks for reporting this. This is something that should be fixed :+1::pray:

1 Like

Fixed in 3.0.0-beta.2. Until I deploy this update, just update the php version to 8.1 or higher :slight_smile:

1 Like

Same problem here to I have php 8.3

The same error message with PHP 8.3? Cant be possible :blush: could you share your logs?

Sorry my foult it was 8.0 sorry one more time now changed to 8.3 and no error will try tomorow

1 Like