• Resolved bob1059

    (@bob1059)


    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.

    To reproduce, go to the front page https://ourpetmemorials.co.uk scroll down and click the Reptiles category

    Fatal error: 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->apply_replacements(NULL, ‘geodirectory’) #1 /home/ourpetme/public_html/wp-includes/class-wp-hook.php(353): EasyTextReplace\Plugin->filter_gettext(NULL, NULL, ‘geodirectory’) #2 /home/ourpetme/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(NULL, Array) #3 /home/ourpetme/public_html/wp-includes/l10n.php(207): apply_filters(‘gettext’, NULL, NULL, ‘geodirectory’) #4 /home/ourpetme/public_html/wp-includes/l10n.php(307): translate(NULL, ‘geodirectory’) #5 /home/ourpetme/public_html/wp-content/plugins/geodirectory/includes/class-geodir-seo.php(369): __(NULL, ‘geodirectory’) #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->apply_filters(NULL, Array) #8 /home/ourpetme/public_html/wp-includes/general-template.php(1425): apply_filters(‘pre_get_documen…’, ”) #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(”) #11 /home/ourpetme/public_html/wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters(NULL, Array) #12 /home/ourpetme/public_html/wp-includes/plugin.php(523): WP_Hook->do_action(Array) #13 /home/ourpetme/public_html/wp-includes/general-template.php(3441): do_action(‘wp_head’) #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(‘/home/ourpetme/…’) #16 /home/ourpetme/public_html/wp-blog-header.php(19): require_once(‘/home/ourpetme/…’) #17 /home/ourpetme/public_html/index.php(17): require(‘/home/ourpetme/…’) #18 {main} thrown in /home/ourpetme/public_html/wp-content/plugins/easy-text-replace/src/Core/ReplacementEngine.php on line 57

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.