527
Views
3
Comments
Solved
How to solve this error: Cannot read properties of undefined (reading 'value')

Hello, I tried to follow this youtube tutorial: https://www.youtube.com/watch?v=J58G021FUag but everytime I try to add a new product I get this error : Cannot read properties of undefined (reading 'value'). I followed every step of the tutorial, the problem starts at 02:30. Could someone please help me?

2022-09-01 09-52-33
Carlos Rodrigues
Solution

Hi Angela,

The error can be fixed by creating a variable to hold the name of the file. This will fix the error and will not change anything in your application.



Best Regards,

Carlos Rodrigues

UserImage.jpg
Angela Duasi

Thank you very much, it worked!

Have a nice day

Kind regards,

Angela





2023-08-28 07-00-10
Paulo Torres
Champion

This error should comes from JS. It's better if you share you url to see and inspect the problem.

2022-09-01 09-52-33
Carlos Rodrigues
Solution

Hi Angela,

The error can be fixed by creating a variable to hold the name of the file. This will fix the error and will not change anything in your application.



Best Regards,

Carlos Rodrigues

UserImage.jpg
Angela Duasi

Thank you very much, it worked!

Have a nice day

Kind regards,

Angela





Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.