@FWindischNCM This should now be fixed in custom search portal. Here is a screenshot from my customization that works without the error.
Could you please retry the scenario again?
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.