PHP Notice in marketplace component.

Fixes #561.