• Here is the error:

    [09-Apr-2026 05:20:42 UTC] PHP Fatal error: Uncaught TypeError: implode(): Argument #1 ($array) must be of type array, string given in /home/customer/www/…/public_html/wp-content/plugins/wpforms/includes/fields/class-select.php:509

    Stack trace:

    #0 /home/customer/www/…/public_html/wp-content/plugins/wpforms/includes/fields/class-select.php(509): implode(‘ ‘, NULL)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Amjad Ali

    (@amjadali688)

    Hi @mhogas ,

    Thanks for reaching out, and sorry to hear about the error you’re running into.

    To help us take a closer look, please share a bit more information.

    When you get a chance, please go to WPForms > Tools > System Info, then copy and paste the system information here.

    Also, it would be really helpful if you could share a copy of the affected form. You can do that by going to WPForms > Tools and clicking on the Export tab. In the Form Export section, select your form, and it will download a JSON file for you.

    Once you share these details, we’ll be able to investigate further and assist you more effectively.

    Thanks!

    Plugin Support Amjad Ali

    (@amjadali688)

    Hi @mhogas ,

    We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

    Thread Starter mhogas

    (@mhogas)

    Hi Amjad!

    System info:

    ### Begin System Info ###

    -- WPForms Info

    Pro: May 28, 2024 at 11:05am (GMT)

    Lite Connect: Backup is not enabled

    PayPal Commerce Connection: first_party

    -- Site Info

    Site URL: X

    Home URL: X

    Multisite: No

    -- WordPress Configuration

    Version: 6.9.4

    Language: en_US

    User Language: en_US

    Permalink Structure: /%postname%/

    Active Theme: Child 1.0.0

    Show On Front: page

    Page On Front: Homepage (#1848)

    Page For Posts: Unset

    ABSPATH: /home/customer/www/X/public_html/

    Table Prefix: Length: 4 Status: Acceptable

    WP_DEBUG: Enabled

    WPFORMS_DEBUG: Not set

    Memory Limit: 256M

    Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, acf-disabled

    Revisions: Enabled

    -- WordPress Uploads/Constants

    WP_CONTENT_DIR: /home/customer/www/X/public_html/wp-content

    WP_CONTENT_URL: X/wp-content

    UPLOADS: Not set

    wp_uploads_dir() path: /home/customer/www/X/public_html/wp-content/uploads/2026/04

    wp_uploads_dir() url: X/wp-content/uploads/2026/04

    wp_uploads_dir() basedir: /home/customer/www/X/public_html/wp-content/uploads

    wp_uploads_dir() baseurl: X/wp-content/uploads

    -- WordPress Active Plugins

    Advanced Google reCAPTCHA: 1.33 (needs update - 1.34)

    Minerva Support: Knowledge Base | FAQ | Glossary | Tickets: 2.0.9

    Speed Optimizer: 7.7.8 (needs update - 7.7.9)

    Wordfence Security: 8.1.4

    WPForms: 1.10.0.3 (needs update - 1.10.0.4)

    -- WordPress Inactive Plugins

    Maintenance: 4.21

    -- Webserver Configuration

    PHP Version: 8.2.30

    MySQL Version: 8.4.6

    Webserver Info: Apache

    -- PHP Configuration

    Memory Limit: 768M

    Upload Max Size: 256M

    Post Max Size: 256M

    Upload Max Filesize: 256M

    Time Limit: 120

    Max Input Vars: 3000

    Display Errors: N/A

    -- PHP Extensions

    cURL: Supported

    fsockopen: Supported

    SOAP Client: Installed

    Suhosin: Not Installed

    -- Session Configuration

    Session: Disabled

    ### End System Info ###

    The form itself I’m not sure it matters because I’m using wpforms_field_properties filter to modify a select field’s properties and it might affect.

    However even so, I still recommend instead of having on line 509 this :

    esc_attr( implode( ' ', $choice['container']['class'] ) ),

    ensure it’s a valid array with:

    esc_attr( is_array( $choice['container']['class'] ) ? implode( ' ', $choice['container']['class'] ) : $choice['container']['class'] ),

    Thanks!

    Plugin Support Amjad Ali

    (@amjadali688)

    Hi @mhogas ,

    Thanks for providing the details.

    Our development team has been made aware of this issue and we are currently investigating. I will circle back as soon as I have some news!

    Thank you again for the detailed report, we appreciate your patience!

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

You must be logged in to reply to this topic.