Page 1 of 2
Updated to 4.8
Posted: Thu Jun 12, 2025 12:40 pm
by ricklincs
Hi upgraded to 4.8 and also used this link to install the latest version
https://github.com/nuBuilder/nuBuilder/ ... master.zip
I am now getting "Uncaught TypeError: Cannot read properties of undefined (reading 'slice') Please check the browser developer console for details."
when trying to add a new fast form, that is from any mysql table.
I have tried reinstalling the latest version this morning, but still getting the error.
nuBuilder Forte 4.8
DB Version: V.4.8-2025.06.12.00
Files Version: V.4.8-2025.06.12.07
(V.MajorVersion-CurrentDate.BuildNumber)
Thank you.
Re: Updated to 4.8
Posted: Thu Jun 12, 2025 1:04 pm
by kev1n
The error should only be temporary. After closing the browser and logging in again, it should disappear. Otherwise, use the latest
nubuilder4.sql and run the database update again, and see if the error is gone.
Re: Updated to 4.8
Posted: Thu Jun 12, 2025 1:19 pm
by ricklincs
Hi kev1n, thank you for prompt response, tried that and also full update and its still coming up with this error.
Re: Updated to 4.8
Posted: Thu Jun 12, 2025 1:21 pm
by kev1n
Please check the browser developer console for detail
What do you see there ?
...and which version did you update from?
Re: Updated to 4.8
Posted: Thu Jun 12, 2025 5:47 pm
by ricklincs
Hi kev1n,
I upgraded to 4.8 then saw the post
viewtopic.php?t=12529, I used the link you gave in this to upgrade again, I then discovered the "Uncaught TypeError: Cannot read properties of undefined (reading 'slice') Please check the browser developer console for details." error when running form builder so downloaded the latest version from github and ran update again to try to solve this error but still I get Uncaught TypeError.. Have closed browser completely and still get this error.
Re: Updated to 4.8
Posted: Thu Jun 12, 2025 5:49 pm
by kev1n
The question remains: what error is output in the developer console?
Re: Updated to 4.8
Posted: Thu Jun 12, 2025 5:51 pm
by kev1n
kev1n wrote: ↑Thu Jun 12, 2025 1:21 pm
Please check the browser developer console for detail
What do you see there ?
...and which version did you update from?
Please answer these questions
Re: Updated to 4.8
Posted: Fri Jun 13, 2025 10:42 am
by ricklincs
Hi kev1n in developer console I see :
Uncaught TypeError: Cannot read properties of undefined (reading 'slice')
at nuSubformRowNumber (nuform.js?ts=20250613083052

43)
at nuSubformRowObject (nuform.js?ts=20250613083052

28)
at HTMLDivElement.<anonymous> (<anonymous>:235:22)
at ce.each (jquery-3.7.1.min.js:2:3129)
at ce.fn.init.each (jquery-3.7.1.min.js:2:1594)
at nuEnableFFDataType (<anonymous>:233:60)
at nuSetFFTable (<anonymous>:182:5)
at HTMLInputElement.<anonymous> (<anonymous>:75:13)
at HTMLInputElement.dispatch (jquery-3.7.1.min.js:2:40035)
at v.handle (jquery-3.7.1.min.js:2:38006)
which seems to be this code:
function nuSubformRowNumber(id) {
return $('#' + id).attr('data-nu-prefix').slice(-3);
}
I moved from DB V.4.6-2025.03.08.01 and file V.4.6-2025.03.22.00 now showing as DB V.4.8-2025.06.12.00 and file V.4.8-2025.06.12.07.
Thanks for your time, sorry I took awhile replying.
Re: Updated to 4.8
Posted: Fri Jun 13, 2025 11:03 am
by kev1n
nuSetFFTable() and nuEnableFFDataType() are only used inside the Form Builder. Are you seeing the error while you're working in the Form Builder?
Re: Updated to 4.8
Posted: Fri Jun 13, 2025 11:07 am
by ricklincs
Hi kev1n, yes only when I go into the Form Builder and select the drop down for table name then it pops up and I don't see as normal the list of fields.