Fix PonyDocsProductVersion.php notices (undefined index and variable references)

Fix PonyDocsProductVersion.php notices (undefined index and variable references)