Fix for PHP errors in breadcrumb