Ok, so I found the solution for me. At one point, I added the following code and it was causing the issue:
`function aws_searchbox_markup( $markup ) {
$pattern = ‘/(<input type=”hidden” name=”type_aws” value=”true”>)/i’;
$markup = preg_replace( $pattern, ”, $markup );
return $markup;
}
add_filter(‘aws_searchbox_markup’, ‘aws_searchbox_markup’);