The Big Spring Sale! Up to 50% off!

Cannot read property 'items' of undefined

computeraide
4 Posts
computeraide posted this 29 August 2019
Report a bug

Upgraded to version 1.60.0
Now when I click on Quick Preview I get this Error message.

Cannot read property 'items' of undefined

Help!

Upgraded to version 1.60.0 Now when I click on Quick Preview I get this Error message. Cannot read property 'items' of undefined Help!
Vote to pay developers attention to this features or issue.
7 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 30 August 2019

Hi Norm,

Does the issue happen with all the projects or with one of them? If that is a one project issue, please attach it to the ticket.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Norm, Does the issue happen with all the projects or with one of them? If that is a one project issue, please attach it to the ticket. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
computeraide
4 Posts
computeraide posted this 30 August 2019

It happens with other projects also

It happens with other projects also
Eduardo Volpi
6 Posts
Eduardo Volpi posted this 30 August 2019

Same here. Once in a while this error pops up.

Same here. Once in a while this error pops up.
Support Team
Support Team posted this 06 September 2019

Hi,

Could you please attach some project that has the problem. Also a screenshot of the problem will be helpful.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi, Could you please attach some project that has the problem. Also a screenshot of the problem will be helpful. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
computeraide
4 Posts
computeraide posted this 09 September 2019

See Attachments

See Attachments
Support Team
Support Team posted this 09 September 2019

Hi Norm,

Thanks for the project, I can see the problem with the preview. I will ask our developers about that.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Norm, Thanks for the project, I can see the problem with the preview. I will ask our developers about that. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
hlipperjohn
1 Posts
hlipperjohn posted this 14 March 2022

In JavaScript almost everything is an object, null and undefined are exceptions. This error occurs when a property is read or a function is called on an undefined variable. Undefined means that a variable has been declared but has not been assigned a value. In JavaScript, properties and functions can only belong to objects. Since undefined is not an object type, calling a function or a property on such a variable causes the TypeError: Cannot read property of undefined.

If you are not sure a variable that will always have some value, the best practice is to check the value of variables for null or undefined before using them. To avoid getting these types of errors, you need to make sure that the variables you are trying to read do have the correct value. This can be done in various ways. You can do if checks before dealing with objects whose values are bound to change:

if (myVar !== undefined) {
    ...
}

Or

if (typeof(myVar) !== 'undefined') {
    ...
}
In JavaScript almost everything is an object, null and undefined are exceptions. This error occurs when a property is read or a function is called on an undefined variable. Undefined means that a variable has been declared but has not been assigned a value. In JavaScript, properties and functions can only belong to objects. Since undefined is not an object type, calling a function or a property on such a variable causes the TypeError: [Cannot read property][1] of undefined. If you are not sure a variable that will always have some value, the best practice is to check the value of variables for null or undefined before using them. To avoid getting these types of errors, you need to make sure that the variables you are trying to read do have the correct value. This can be done in various ways. You can do if checks before dealing with objects whose values are bound to change: if (myVar !== undefined) { ... } Or if (typeof(myVar) !== 'undefined') { ... } [1]: http://net-informations.com/js/iq/unerror.htm
You must log in or register to leave comments