Support Forum
Support › Meta Box Builder › Meta Box Builder Editor Not Loading "TypeError: t.map is not a function"Resolved
Hi there, I was hoping someone could help me solve an issue I'm having. I'm getting an error every time I try and load the Meta Box Builder Edit Field Group Page.
I've tried updating, rolling back, uninstalling/reinstalling, clearing caches, and maintenance mode with no success. It's a recent issue, wasn't doing it last time I logged in.
As the page loads the fields/settings box appears and then disappears as the following error occurs...
TypeError: t.map is not a function
at app.js?ver=4.1.13:13:69968
at ct (react-dom.min.js?ver=17.0.1:9:43430)
at Bt (react-dom.min.js?ver=17.0.1:9:50249)
at Ut (react-dom.min.js?ver=17.0.1:9:49583)
at Ft (react-dom.min.js?ver=17.0.1:9:49241)
at os (react-dom.min.js?ver=17.0.1:9:114369)
at Ur (react-dom.min.js?ver=17.0.1:9:77643)
at Ir (react-dom.min.js?ver=17.0.1:9:77571)
at Dr (react-dom.min.js?ver=17.0.1:9:77434)
at Pr (react-dom.min.js?ver=17.0.1:9:74429)
rr @ react-dom.min.js?ver=17.0.1:9
t.callback @ react-dom.min.js?ver=17.0.1:9
An @ react-dom.min.js?ver=17.0.1:9
ir @ react-dom.min.js?ver=17.0.1:9
Br @ react-dom.min.js?ver=17.0.1:9
unstable_runWithPriority @ react.min.js?ver=17.0.1:9
xn @ react-dom.min.js?ver=17.0.1:9
Ar @ react-dom.min.js?ver=17.0.1:9
Pr @ react-dom.min.js?ver=17.0.1:9
(anonymous) @ react-dom.min.js?ver=17.0.1:9
unstable_runWithPriority @ react.min.js?ver=17.0.1:9
xn @ react-dom.min.js?ver=17.0.1:9
Nn @ react-dom.min.js?ver=17.0.1:9
_n @ react-dom.min.js?ver=17.0.1:9
Er @ react-dom.min.js?ver=17.0.1:9
Rt @ react-dom.min.js?ver=17.0.1:9
Promise.then (async)
(anonymous) @ app.js?ver=4.1.13:13
$r @ react-dom.min.js?ver=17.0.1:9
unstable_runWithPriority @ react.min.js?ver=17.0.1:9
xn @ react-dom.min.js?ver=17.0.1:9
Qr @ react-dom.min.js?ver=17.0.1:9
(anonymous) @ react-dom.min.js?ver=17.0.1:9
h @ react.min.js?ver=17.0.1:9
ne.port1.onmessage @ react.min.js?ver=17.0.1:9
app.js?ver=4.1.13:13
Uncaught (in promise) TypeError: t.map is not a function
at app.js?ver=4.1.13:13:69968
at ct (react-dom.min.js?ver=17.0.1:9:43430)
at Bt (react-dom.min.js?ver=17.0.1:9:50249)
at Ut (react-dom.min.js?ver=17.0.1:9:49583)
at Ft (react-dom.min.js?ver=17.0.1:9:49241)
at os (react-dom.min.js?ver=17.0.1:9:114369)
at Ur (react-dom.min.js?ver=17.0.1:9:77643)
at Ir (react-dom.min.js?ver=17.0.1:9:77571)
at Dr (react-dom.min.js?ver=17.0.1:9:77434)
at Pr (react-dom.min.js?ver=17.0.1:9:74429)
(anonymous) @ app.js?ver=4.1.13:13
ct @ react-dom.min.js?ver=17.0.1:9
Bt @ react-dom.min.js?ver=17.0.1:9
Ut @ react-dom.min.js?ver=17.0.1:9
Ft @ react-dom.min.js?ver=17.0.1:9
os @ react-dom.min.js?ver=17.0.1:9
Ur @ react-dom.min.js?ver=17.0.1:9
Ir @ react-dom.min.js?ver=17.0.1:9
Dr @ react-dom.min.js?ver=17.0.1:9
Pr @ react-dom.min.js?ver=17.0.1:9
(anonymous) @ react-dom.min.js?ver=17.0.1:9
unstable_runWithPriority @ react.min.js?ver=17.0.1:9
xn @ react-dom.min.js?ver=17.0.1:9
Nn @ react-dom.min.js?ver=17.0.1:9
_n @ react-dom.min.js?ver=17.0.1:9
Er @ react-dom.min.js?ver=17.0.1:9
Rt @ react-dom.min.js?ver=17.0.1:9
Promise.then (async)
(anonymous) @ app.js?ver=4.1.13:13
$r @ react-dom.min.js?ver=17.0.1:9
unstable_runWithPriority @ react.min.js?ver=17.0.1:9
xn @ react-dom.min.js?ver=17.0.1:9
Qr @ react-dom.min.js?ver=17.0.1:9
(anonymous) @ react-dom.min.js?ver=17.0.1:9
h @ react.min.js?ver=17.0.1:9
ne.port1.onmessage @ react.min.js?ver=17.0.1:9
app.js?ver=4.1.13:1
Hi,
Can you please export the field group to the JSON file and share it here? I will help you to check the issue. Refer to this solution https://docs.metabox.io/extensions/meta-box-builder/#export--import
Hi!
I just got the same failure. As soon as I try to open a custom fields group, editor says
Loading fields, please wait…
Than the message disappears and nothing gets loaded. No matter if you create a new one or try to edit an existing fields group.
Console says:
react-dom.min.js?ver=6.0.1:1 TypeError: t.map is not a function
at app.js?ver=4.1.13:13:69968
at ft (react-dom.min.js?ver=6.0.1:1:43451)
at Wt (react-dom.min.js?ver=6.0.1:1:50270)
at Vt (react-dom.min.js?ver=6.0.1:1:49604)
at Ut (react-dom.min.js?ver=6.0.1:1:49262)
at ts (react-dom.min.js?ver=6.0.1:1:114533)
at Fr (react-dom.min.js?ver=6.0.1:1:77758)
at Dr (react-dom.min.js?ver=6.0.1:1:77686)
at Rr (react-dom.min.js?ver=6.0.1:1:77549)
at Nr (react-dom.min.js?ver=6.0.1:1:74544)
tr @ react-dom.min.js?ver=6.0.1:1
t.callback @ react-dom.min.js?ver=6.0.1:1
Bn @ react-dom.min.js?ver=6.0.1:1
ur @ react-dom.min.js?ver=6.0.1:1
Ar @ react-dom.min.js?ver=6.0.1:1
unstable_runWithPriority @ react.min.js?ver=6.0.1:1
xn @ react-dom.min.js?ver=6.0.1:1
Vr @ react-dom.min.js?ver=6.0.1:1
Nr @ react-dom.min.js?ver=6.0.1:1
(anonymous) @ react-dom.min.js?ver=6.0.1:1
unstable_runWithPriority @ react.min.js?ver=6.0.1:1
xn @ react-dom.min.js?ver=6.0.1:1
Pn @ react-dom.min.js?ver=6.0.1:1
Nn @ react-dom.min.js?ver=6.0.1:1
Sr @ react-dom.min.js?ver=6.0.1:1
Dt @ react-dom.min.js?ver=6.0.1:1
Promise.then (async)
(anonymous) @ app.js?ver=4.1.13:13
jr @ react-dom.min.js?ver=6.0.1:1
unstable_runWithPriority @ react.min.js?ver=6.0.1:1
xn @ react-dom.min.js?ver=6.0.1:1
Wr @ react-dom.min.js?ver=6.0.1:1
(anonymous) @ react-dom.min.js?ver=6.0.1:1
h @ react.min.js?ver=6.0.1:1
ne.port1.onmessage @ react.min.js?ver=6.0.1:1
app.js?ver=4.1.13:13 Uncaught (in promise) TypeError: t.map is not a function
at app.js?ver=4.1.13:13:69968
at ft (react-dom.min.js?ver=6.0.1:1:43451)
at Wt (react-dom.min.js?ver=6.0.1:1:50270)
at Vt (react-dom.min.js?ver=6.0.1:1:49604)
at Ut (react-dom.min.js?ver=6.0.1:1:49262)
at ts (react-dom.min.js?ver=6.0.1:1:114533)
at Fr (react-dom.min.js?ver=6.0.1:1:77758)
at Dr (react-dom.min.js?ver=6.0.1:1:77686)
at Rr (react-dom.min.js?ver=6.0.1:1:77549)
at Nr (react-dom.min.js?ver=6.0.1:1:74544)
I tried deactivating everything besides Metabox,... nothing helped. Only solution I've found by now is editing and exporting from another installation and importing it in the installation with defective editor.
Hi Digitanos,
Please your site or staging site credentials via this contact form https://metabox.io/contact/
I will take a closer look.
Hi Digitanos,
There should be a conflicting plugin that causes the issue. After deactivating all plugins except Meta Box, Meta Box AIO, I can edit/create the field group as well. Screenshot https://monosnap.com/file/6sTL0LFL6KjZzNt6fRQ4A7cryXHBf4
I just got the same error. It's working fine on local but not on a VPS. I clone my WP with duplicator plugin.
I tried deactivate all plugins, and no conflict.