Fix sample.php

Sample.php in the framework root directory crashes after a new checkout
of the wrong Object type for the lblMessage. This commit fixes the issue