SubmissionForm error Undefined array key "post_fields"
Support › Meta Box AIO › SubmissionForm error Undefined array key "post_fields"
- This topic has 7 replies, 2 voices, and was last updated 1 month, 3 weeks ago by
Emma Clare.
-
AuthorPosts
-
November 19, 2025 at 5:41 PM #49377
Emma Clare
ParticipantHi
I am getting this error
[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, is this a MetaBox or Bricks thing?
'post_fields' => implode( ',', $settings['post_fields'] ?? []),
Is there some way in the form to prevent this?
November 20, 2025 at 12:09 AM #49379Peter
ModeratorHello Emma,
Thanks for your feedback.
It is an issue with Meta Box. Let me escalate this issue to the development team to fix it in the source so it won't happen again.
November 26, 2025 at 10:48 PM #49419Emma Clare
ParticipantHi
Thanks for that
Unfortunately the plugin has updated today and brought the site down again.
Do you have an ETA on that fixed being implemented?November 27, 2025 at 11:08 PM #49428Peter
ModeratorHello Emma,
This issue has been escalated to the development team and we are working on it. It will be included in the next update of Meta Box plugins.
Thanks for your patience.
December 7, 2025 at 7:09 PM #49510Emma Clare
ParticipantIts still happening after each update
December 7, 2025 at 7:54 PM #49512Emma Clare
ParticipantCould you let me know when its fixed so I can turn auto updates on again please?
January 16, 2026 at 6:04 PM #49617Emma Clare
ParticipantHi
The latest update brought the site down again which is a little frustrating my me and my customers
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'] ?? [] ),
February 4, 2026 at 5:53 PM #49728Emma Clare
ParticipantHi
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
-
AuthorPosts
- You must be logged in to reply to this topic.