Fixed errors in Marketplace

Solved `undefined index[...]` and `invalid argument supplied[...]`
errors in Marketplace.