PHP Fatal error

Yup, there it is:

PHP Fatal error: Call to a member function has_cap() on a non-object in public_html/wp-content/plugins/automessage/classes/class.automessage.php on line 95

A possible solution would be to check if the $role is actually an object

$role = get_role( 'administrator' );
if( is_object($role) and !$role->has_cap( 'read_automessage' ) ) { ...