you have your reporting too high - this is just a notice - not an error -
shouldn't be displaying notices on a production site
try error_reporting(E_ERROR);
at the very top of the templates/flexible_lightmart/html/com_virtuemart/productdetails/default.php file
after
defined ( '_JEXEC' ) or die ( 'Restricted access' );