Support Forum
Support › Meta Box Builder › settingsControls.map is not a functionResolved
Hi there,
In MB Builder's custom field new creation, all fields except the title input field are not displayed due to the following error.
fields, settings The field cannot be created because the input field is not visible.
I have disabled all plugins and am running with the default theme.
I am working on building a new site in a local environment with XAMPP. This is the usual way, but for some reason, Builder is not working.
functions.js:41 GET http://noa.localhost/wp-json/mbb/field-categories 403 (Forbidden)
fetcher @ functions.js:41
eval @ index.mjs:766
step @ index.mjs:59
eval @ index.mjs:40
eval @ index.mjs:33
__awaiter @ index.mjs:29
eval @ index.mjs:709
eval @ index.mjs:969
Ir @ react-dom.min.js?ver=18.2.0:10
Zr @ react-dom.min.js?ver=18.2.0:10
Gr @ react-dom.min.js?ver=18.2.0:10
Xr @ react-dom.min.js?ver=18.2.0:10
(匿名) @ react-dom.min.js?ver=18.2.0:10
Sl @ react-dom.min.js?ver=18.2.0:10
cl @ react-dom.min.js?ver=18.2.0:10
zn @ react-dom.min.js?ver=18.2.0:10
dl @ react-dom.min.js?ver=18.2.0:10
(匿名) @ react-dom.min.js?ver=18.2.0:10
na @ react-dom.min.js?ver=18.2.0:10
e.render @ react-dom.min.js?ver=18.2.0:10
eval @ App.js:69
./app/App.js @ app.js?ver=4.4.3:161
__webpack_require__ @ app.js?ver=4.4.3:1599
(匿名) @ app.js?ver=4.4.3:1671
(匿名) @ app.js?ver=4.4.3:1673
functions.js:41 GET http://noa.localhost/wp-json/mbb/settings-controls 403 (Forbidden)
fetcher @ functions.js:41
eval @ index.mjs:766
step @ index.mjs:59
eval @ index.mjs:40
eval @ index.mjs:33
__awaiter @ index.mjs:29
eval @ index.mjs:709
eval @ index.mjs:969
Ir @ react-dom.min.js?ver=18.2.0:10
Zr @ react-dom.min.js?ver=18.2.0:10
Gr @ react-dom.min.js?ver=18.2.0:10
Xr @ react-dom.min.js?ver=18.2.0:10
(匿名) @ react-dom.min.js?ver=18.2.0:10
Sl @ react-dom.min.js?ver=18.2.0:10
cl @ react-dom.min.js?ver=18.2.0:10
zn @ react-dom.min.js?ver=18.2.0:10
dl @ react-dom.min.js?ver=18.2.0:10
(匿名) @ react-dom.min.js?ver=18.2.0:10
na @ react-dom.min.js?ver=18.2.0:10
e.render @ react-dom.min.js?ver=18.2.0:10
eval @ App.js:69
./app/App.js @ app.js?ver=4.4.3:161
__webpack_require__ @ app.js?ver=4.4.3:1599
(匿名) @ app.js?ver=4.4.3:1671
(匿名) @ app.js?ver=4.4.3:1673
functions.js:41 GET http://noa.localhost/wp-json/mbb/field-types 403 (Forbidden)
fetcher @ functions.js:41
eval @ index.mjs:766
step @ index.mjs:59
eval @ index.mjs:40
eval @ index.mjs:33
__awaiter @ index.mjs:29
eval @ index.mjs:709
eval @ index.mjs:969
Ir @ react-dom.min.js?ver=18.2.0:10
Zr @ react-dom.min.js?ver=18.2.0:10
Gr @ react-dom.min.js?ver=18.2.0:10
Xr @ react-dom.min.js?ver=18.2.0:10
(匿名) @ react-dom.min.js?ver=18.2.0:10
Sl @ react-dom.min.js?ver=18.2.0:10
cl @ react-dom.min.js?ver=18.2.0:10
zn @ react-dom.min.js?ver=18.2.0:10
dl @ react-dom.min.js?ver=18.2.0:10
(匿名) @ react-dom.min.js?ver=18.2.0:10
na @ react-dom.min.js?ver=18.2.0:10
e.render @ react-dom.min.js?ver=18.2.0:10
eval @ App.js:69
./app/App.js @ app.js?ver=4.4.3:161
__webpack_require__ @ app.js?ver=4.4.3:1599
(匿名) @ app.js?ver=4.4.3:1671
(匿名) @ app.js?ver=4.4.3:1673
react-dom.min.js?ver=18.2.0:10 TypeError: settingsControls.map is not a function
at Settings (Settings.js:28:269)
at kt (react-dom.min.js?ver=18.2.0:10:47633)
at gr (react-dom.min.js?ver=18.2.0:10:56448)
at js (react-dom.min.js?ver=18.2.0:10:121615)
at kl (react-dom.min.js?ver=18.2.0:10:88654)
at yl (react-dom.min.js?ver=18.2.0:10:88582)
at vl (react-dom.min.js?ver=18.2.0:10:88445)
at cl (react-dom.min.js?ver=18.2.0:10:85602)
at zn (react-dom.min.js?ver=18.2.0:10:32470)
at ll (react-dom.min.js?ver=18.2.0:10:82716)
lr @ react-dom.min.js?ver=18.2.0:10
t.callback @ react-dom.min.js?ver=18.2.0:10
nt @ react-dom.min.js?ver=18.2.0:10
Zr @ react-dom.min.js?ver=18.2.0:10
Gr @ react-dom.min.js?ver=18.2.0:10
Xr @ react-dom.min.js?ver=18.2.0:10
(匿名) @ react-dom.min.js?ver=18.2.0:10
Sl @ react-dom.min.js?ver=18.2.0:10
cl @ react-dom.min.js?ver=18.2.0:10
zn @ react-dom.min.js?ver=18.2.0:10
ll @ react-dom.min.js?ver=18.2.0:10
Zt @ react-dom.min.js?ver=18.2.0:10
eval @ index.mjs:576
finishRequestAndUpdateState @ index.mjs:742
eval @ index.mjs:869
step @ index.mjs:59
eval @ index.mjs:40
fulfilled @ index.mjs:30
Promise.then(非同期)
step @ index.mjs:32
eval @ index.mjs:33
__awaiter @ index.mjs:29
eval @ index.mjs:709
eval @ index.mjs:969
Ir @ react-dom.min.js?ver=18.2.0:10
Zr @ react-dom.min.js?ver=18.2.0:10
Gr @ react-dom.min.js?ver=18.2.0:10
Xr @ react-dom.min.js?ver=18.2.0:10
(匿名) @ react-dom.min.js?ver=18.2.0:10
Sl @ react-dom.min.js?ver=18.2.0:10
cl @ react-dom.min.js?ver=18.2.0:10
zn @ react-dom.min.js?ver=18.2.0:10
dl @ react-dom.min.js?ver=18.2.0:10
(匿名) @ react-dom.min.js?ver=18.2.0:10
na @ react-dom.min.js?ver=18.2.0:10
e.render @ react-dom.min.js?ver=18.2.0:10
eval @ App.js:69
./app/App.js @ app.js?ver=4.4.3:161
__webpack_require__ @ app.js?ver=4.4.3:1599
(匿名) @ app.js?ver=4.4.3:1671
(匿名) @ app.js?ver=4.4.3:1673
index.mjs:30 Uncaught (in promise) TypeError: settingsControls.map is not a function
at Settings (Settings.js:28:269)
at kt (react-dom.min.js?ver=18.2.0:10:47633)
at gr (react-dom.min.js?ver=18.2.0:10:56448)
at js (react-dom.min.js?ver=18.2.0:10:121615)
at kl (react-dom.min.js?ver=18.2.0:10:88654)
at yl (react-dom.min.js?ver=18.2.0:10:88582)
at vl (react-dom.min.js?ver=18.2.0:10:88445)
at cl (react-dom.min.js?ver=18.2.0:10:85602)
at zn (react-dom.min.js?ver=18.2.0:10:32470)
at ll (react-dom.min.js?ver=18.2.0:10:82716)
Hi,
Clearing the cache solved the problem!
Sorry, please close it.
Thanks and regards,
Yumikom