Title: Fatal error during setup wizard step 2
Last modified: October 23, 2023

---

# Fatal error during setup wizard step 2

 *  Resolved [Arnoud Klaren](https://wordpress.org/support/users/aklaren/)
 * (@aklaren)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-during-setup-wizard-step-2/)
 * In the setup wizard step 2, enabling “Hide the admin bar for the subscriber role”
   will generate a fatal error, sending an email to admin (sorry for the Dutch language):
 * > Een fout van het type E_ERROR werd veroorzaakt op regelnummer 151 van het bestand/
   > home/xxx/domains/xxx.nl/public_html/test1/wp-content/plugins/profile-builder/
   > admin/setup-wizard.php. Foutmelding: Uncaught Error: [] operator not supported
   > for strings in /home/xxx/domains/xxx.nl/public_html/test1/wp-content/plugins/
   > profile-builder/admin/setup-wizard.php:151
   > Stack trace:
   > #0 /home/xxx/domains/xxx.nl/public_html/test1/wp-includes/class-wp-hook.php(
   > 310): WPPB_Setup_Wizard->save_data()
   > #1 /home/xxx/domains/xxx.nl/public_html/test1/wp-includes/class-wp-hook.php(
   > 334): WP_Hook->apply_filters()
   > #2 /home/xxx/domains/xxx.nl/public_html/test1/wp-includes/plugin.php(517): 
   > WP_Hook->do_action()
   > #3 /home/xxx/domains/xxx.nl/public_html/test1/wp-admin/admin.php(175): do_action()
   > #4 {main}
   >   thrown
 * I reproduced this on a brand new WP installation with a brand new MySQL db, all
   defaults, no other plugins:
   WordPress versie 6.3.2Actief thema: Twenty Twenty-
   Three (versie 1.2)Huidige plugin: Profile Builder (versie 3.10.1)PHP versie 8.1.7

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [alexandrubodea](https://wordpress.org/support/users/alexandrubodea/)
 * (@alexandrubodea)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-during-setup-wizard-step-2/#post-17146138)
 * Hey there,
 * Thank you for reporting this. I’ve created a task and forwarded it to our development
   team they will get it fixed in our next update to Profile Builder.
   ​​Until then
   you can activate the Hide Admin Bar functionality by going to Profile Builder-
   > Settings -> General Settings -> Hide Admin Bar for User Roles.
 * Kind regards,
 *  Thread Starter [Arnoud Klaren](https://wordpress.org/support/users/aklaren/)
 * (@aklaren)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-during-setup-wizard-step-2/#post-17146252)
 * Thanks, I have indeed used this workaround and that works.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error during setup wizard step 2’ is closed to new replies.

 * ![](https://ps.w.org/profile-builder/assets/icon-256x256.png?rev=2961144)
 * [User Profile Builder - Beautiful User Registration Forms, User Profiles & User Role Editor](https://wordpress.org/plugins/profile-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/profile-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/profile-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/profile-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/profile-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/profile-builder/reviews/)

## Tags

 * [fatal](https://wordpress.org/support/topic-tag/fatal/)
 * [wizard](https://wordpress.org/support/topic-tag/wizard/)

 * 2 replies
 * 2 participants
 * Last reply from: [Arnoud Klaren](https://wordpress.org/support/users/aklaren/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-during-setup-wizard-step-2/#post-17146252)
 * Status: resolved