Fatal Error on search
-
Hello,
I’m using WooCommerce with LearnPress plugin. When performing a search with default Search Block I got a fatal error
Fatal error: Uncaught Error: Path cannot be empty in /Users/macUser/Local Sites/custom-theme/app/public/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Utils/BlockTemplateUtils.php on line 203 Call stack: file_get_contents() wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/Utils/BlockTemplateUtils.php:203 Automattic\W\B\U\BlockTemplateUtils::build_template_result_from_file() wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/BlockTemplatesController.php:392 Automattic\W\B\BlockTemplatesController::add_block_templates() wp-includes/class-wp-hook.php:324 WP_Hook::apply_filters() wp-includes/plugin.php:205 apply_filters() wp-includes/block-template-utils.php:1030 get_block_templates() wp-includes/block-template.php:140 resolve_block_template() wp-includes/block-template.php:66 locate_block_template() wp-includes/template.php:66 get_query_template() wp-includes/template.php:515 get_search_template() wp-content/plugins/query-monitor/collectors/theme.php:242 QM_Collector_Theme::action_template_redirect() wp-includes/class-wp-hook.php:324 WP_Hook::apply_filters() wp-includes/class-wp-hook.php:348 WP_Hook::do_action() wp-includes/plugin.php:517 do_action() wp-includes/template-loader.php:13 require_once() wp-blog-header.php:19 require() index.php:17
I’m using default Twenty Twenty-Four theme.
Best Regards!
Ramzesimus
- The topic ‘Fatal Error on search’ is closed to new replies.