• Resolved Arnoud Klaren

    (@aklaren)


    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.2
    Actief 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

    (@alexandrubodea)

    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

    (@aklaren)

    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.