Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Updated to 4.8

Questions related to installing, updating, setting up and configuring
ricklincs
Posts: 107
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 33 times

Updated to 4.8

Unread post 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.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Updated to 4.8

Unread post 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.
ricklincs
Posts: 107
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 33 times

Re: Updated to 4.8

Unread post by ricklincs »

Hi kev1n, thank you for prompt response, tried that and also full update and its still coming up with this error.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Updated to 4.8

Unread post by kev1n »

Please check the browser developer console for detail
What do you see there ?
...and which version did you update from?
ricklincs
Posts: 107
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 33 times

Re: Updated to 4.8

Unread post 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.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Updated to 4.8

Unread post by kev1n »

The question remains: what error is output in the developer console?
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Updated to 4.8

Unread post 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
ricklincs
Posts: 107
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 33 times

Re: Updated to 4.8

Unread post by ricklincs »

Hi kev1n in developer console I see :

Uncaught TypeError: Cannot read properties of undefined (reading 'slice')
at nuSubformRowNumber (nuform.js?ts=20250613083052:2490:43)
at nuSubformRowObject (nuform.js?ts=20250613083052:2496: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.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Updated to 4.8

Unread post 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?
ricklincs
Posts: 107
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 33 times

Re: Updated to 4.8

Unread post 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.
Post Reply