SubmissionForm.php update crashes site on every update - it's a very simple fix

Support MB Frontend Submission SubmissionForm.php update crashes site on every update - it's a very simple fix

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #49729
    Emma ClareEmma Clare
    Participant

    Hi

    The latest update brought the site down AGAIN which is VERY FRUSTRATING for me and my customers

    I am still getting this error after every update even though I requested a resolution back in November

    [19-Nov-2025 10:26:57 UTC] PHP Warning: Undefined array key "post_fields" in /wp-content/plugins/meta-box-aio/vendor/meta-box/mb-frontend-submission/src/Integrations/Bricks/SubmissionForm.php on line 253

    Caused by this line in SubmissionForm.php

    'post_fields' => implode( ',', $settings['post_fields']),

    I know it can be resolved by changing the line to the below but obvs it gets overwritten when the plugin updates?

    Could you please fix it before the next update it really is just a case of replacing line 253 in SubmissionForm.php with this code to provide a fallback id 'post_fields' is not supplied

    'post_fields' => implode( ',', $settings['post_fields'] ?? [] ),

    I have now locked the file to prevent it being overwritten with you erroring code so ple ase let me know when its fixed on your side so I can allow it to update again

    #49737
    PeterPeter
    Moderator

    Hello Emma,

    The fix for this issue has been merged into the plugin MB Frontend Submission. It would be included in the next release.

    Thanks for your patience.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.