PHP Notice in marketplace component.

Fixes #561.
Merge pull request #562 from garyc40/pr-561

PHP Notice in marketplace component.