{"id":19029933,"date":"2026-09-26T10:24:18","date_gmt":"2026-09-26T10:24:18","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/geodirectory-category-search\/"},"modified":"2026-09-26T10:24:18","modified_gmt":"2026-09-26T10:24:18","slug":"geodirectory-category-search","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/geodirectory-category-search\/","title":{"rendered":"Geodirectory Category Search"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When using the category link in Geofirectory Custom Post the site crashes with the error shown below when there are 0 results returned.  It works ok if anything is found. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To reproduce, go to the front page https:\/\/ourpetmemorials.co.uk scroll down and click the Reptiles category<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Fatal error<\/strong>: Uncaught TypeError: EasyTextReplace\\Core\\ReplacementEngine::apply_replacements(): Argument #1 ($text) must be of type string, null given, called in \/home\/ourpetme\/public_html\/wp-content\/plugins\/easy-text-replace\/src\/Plugin.php on line 181 and defined in \/home\/ourpetme\/public_html\/wp-content\/plugins\/easy-text-replace\/src\/Core\/ReplacementEngine.php:57 Stack trace: #0 \/home\/ourpetme\/public_html\/wp-content\/plugins\/easy-text-replace\/src\/Plugin.php(181): EasyTextReplace\\Core\\ReplacementEngine-&gt;apply_replacements(NULL, &#8216;geodirectory&#8217;) #1 \/home\/ourpetme\/public_html\/wp-includes\/class-wp-hook.php(353): EasyTextReplace\\Plugin-&gt;filter_gettext(NULL, NULL, &#8216;geodirectory&#8217;) #2 \/home\/ourpetme\/public_html\/wp-includes\/plugin.php(206): WP_Hook-&gt;apply_filters(NULL, Array) #3 \/home\/ourpetme\/public_html\/wp-includes\/l10n.php(207): apply_filters(&#8216;gettext&#8217;, NULL, NULL, &#8216;geodirectory&#8217;) #4 \/home\/ourpetme\/public_html\/wp-includes\/l10n.php(307): translate(NULL, &#8216;geodirectory&#8217;) #5 \/home\/ourpetme\/public_html\/wp-content\/plugins\/geodirectory\/includes\/class-geodir-seo.php(369): __(NULL, &#8216;geodirectory&#8217;) #6 \/home\/ourpetme\/public_html\/wp-includes\/class-wp-hook.php(353): GeoDir_SEO::output_meta_title(NULL) #7 \/home\/ourpetme\/public_html\/wp-includes\/plugin.php(206): WP_Hook-&gt;apply_filters(NULL, Array) #8 \/home\/ourpetme\/public_html\/wp-includes\/general-template.php(1425): apply_filters(&#8216;pre_get_documen&#8230;&#8217;, &#8221;) #9 \/home\/ourpetme\/public_html\/wp-includes\/block-template.php(233): wp_get_document_title() #10 \/home\/ourpetme\/public_html\/wp-includes\/class-wp-hook.php(353): _block_template_render_title_tag(&#8221;) #11 \/home\/ourpetme\/public_html\/wp-includes\/class-wp-hook.php(377): WP_Hook-&gt;apply_filters(NULL, Array) #12 \/home\/ourpetme\/public_html\/wp-includes\/plugin.php(523): WP_Hook-&gt;do_action(Array) #13 \/home\/ourpetme\/public_html\/wp-includes\/general-template.php(3441): do_action(&#8216;wp_head&#8217;) #14 \/home\/ourpetme\/public_html\/wp-includes\/template-canvas.php(17): wp_head() #15 \/home\/ourpetme\/public_html\/wp-includes\/template-loader.php(132): include(&#8216;\/home\/ourpetme\/&#8230;&#8217;) #16 \/home\/ourpetme\/public_html\/wp-blog-header.php(19): require_once(&#8216;\/home\/ourpetme\/&#8230;&#8217;) #17 \/home\/ourpetme\/public_html\/index.php(17): require(&#8216;\/home\/ourpetme\/&#8230;&#8217;) #18 {main} thrown in <strong>\/home\/ourpetme\/public_html\/wp-content\/plugins\/easy-text-replace\/src\/Core\/ReplacementEngine.php<\/strong> on line <strong>57<\/strong><\/p>\n","protected":false},"template":"","class_list":["post-19029933","topic","type-topic","status-publish","hentry","topic-tag-wordpress"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19029933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19029933\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19029933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}