diff --git a/themes/NEXT/LayoutSearch.js b/themes/NEXT/LayoutSearch.js
index 01b13d72..34a48e47 100644
--- a/themes/NEXT/LayoutSearch.js
+++ b/themes/NEXT/LayoutSearch.js
@@ -12,7 +12,7 @@ export const LayoutSearch = (props) => {
{' '}
- {posts.length} {locale.COMMON.RESULT_OF_SEARCH}
+ {posts?.length} {locale.COMMON.RESULT_OF_SEARCH}
diff --git a/themes/NEXT/components/SearchInput.js b/themes/NEXT/components/SearchInput.js
index 2f6f86c4..48399f85 100644
--- a/themes/NEXT/components/SearchInput.js
+++ b/themes/NEXT/components/SearchInput.js
@@ -52,7 +52,7 @@ const SearchInput = ({ currentTag, currentSearch, cRef }) => {
onChange={e => updateSearchKey(e.target.value)}
defaultValue={searchKey}
/>
- {(searchKey && searchKey.length &&
)}
+ {(searchKey && searchKey.length &&
)}
{ handleSearch(searchKey) }}>