Closed sameh0 closed 4 years ago
Have you got channels and languages set up in the database on the API?
Have you got channels and languages set up in the database on the API?
Yes in the Initial setup , and i even created new to be sure using the API . doesn't solve the problem .
Okay sorry about this, I'll try a fresh install and see if I can provide any insight/fix this for you!
Whenever i try to add a product undefined is not an object (evaluating '_vm.data[attribute.handle][_vm.fallbackChannel][ _vm.fallbackLanguage ]')
@sameh0 i had the same problem, but after deleting the database and run the installation cli command once more it all worked.
Whenever i try to add a product undefined is not an object (evaluating '_vm.data[attribute.handle][_vm.fallbackChannel][ _vm.fallbackLanguage ]')
@sameh0 i had the same problem, but after deleting the database and run the installation cli command once more it all worked.
That worked. Thanks
@alecritson maybe this is a bug? look at the database i sent you on discord and see if there are something missing from the first run.
Question, are there any migrations that depends on the env variables except the database variables?
I think I managed to track this one down.
Just out of curiosity, when you reran the installer, did you opt for webstore
as a channel name?
@alecritson i don't remember the first run, but the second time I just run with defaults.
This was an issue with the hub assuming webstore
was the channel handle on the page, should be addressed for new installs now if you can upgrade.
https://guides.getcandy.io/hub-guides/0.9/introduction/upgrading#upgrading-from-091-to-092
Going to close this, if updating doesn't solve the issue feel free to reopen
Whenever i try to add a product undefined is not an object (evaluating '_vm.data[attribute.handle][_vm.fallbackChannel][ _vm.fallbackLanguage ]')