Fix problem with reduced interface

PHP errors were logged when displaying hosts or resources in the central
view. No prolem for user interface but annoying numerous logs in
php_errors.log