Update issuem-functions.php

fixed problem with PHP error: trying to get property of non-object