Removed error log message "Undefined variable: renderedHTML"